浏览代码

- 멤버초대 : 퀴즈 직접입력 Hidden 처리 추가

TaeHyun 8 年之前
父节点
当前提交
78e2645f3d

文件差异内容过多而无法显示
+ 121 - 116
OneCable/Base.lproj/HomeMember.storyboard


+ 3 - 0
OneCable/Classes/ViewControllers/HomeMemberScreens/HomeMemberAddViewController.h

@@ -55,7 +55,10 @@
 
 
 @property (weak, nonatomic) IBOutlet DatePickerButton *btnDate;
 @property (weak, nonatomic) IBOutlet DatePickerButton *btnDate;
 @property (weak, nonatomic) IBOutlet CustomTextField *txtQuestion;
 @property (weak, nonatomic) IBOutlet CustomTextField *txtQuestion;
+@property (weak, nonatomic) IBOutlet CustomTextField *txtSelfQuiz;
 @property (weak, nonatomic) IBOutlet CustomButton *btnQuizSelect;
 @property (weak, nonatomic) IBOutlet CustomButton *btnQuizSelect;
+@property (weak, nonatomic) IBOutlet UIView *viewSelfQuiz;
+@property (weak, nonatomic) IBOutlet NSLayoutConstraint *viewHeight;
 
 
 @end
 @end
 
 

+ 6 - 0
OneCable/Classes/ViewControllers/HomeMemberScreens/HomeMemberAddViewController.m

@@ -78,6 +78,12 @@
     
     
     _txtQuestion.placeholder = @"예) 아빠 생일은?";
     _txtQuestion.placeholder = @"예) 아빠 생일은?";
     _txtQuestion.customTextFieldSuperview = CustomTextFieldSuperviewIsContentView;
     _txtQuestion.customTextFieldSuperview = CustomTextFieldSuperviewIsContentView;
+    
+    _viewSelfQuiz.hidden = YES;
+    
+    if(_viewSelfQuiz.isHidden){
+        _viewHeight.constant = 0;
+    }
 }
 }
 
 
 @end
 @end