Skip to content

Commit b0823d7

Browse files
committed
更新点击隐藏
1 parent 5e3330f commit b0823d7

3 files changed

Lines changed: 11 additions & 1 deletion

File tree

Coding_iOS/Controllers/ProjectViewController.m

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,11 @@ - (void)viewWillAppear:(BOOL)animated{
183183
[self loadTasksLabels];
184184
}
185185

186+
- (void)viewWillDisappear:(BOOL)animated {
187+
[super viewWillDisappear:animated];
188+
[_myFliterMenu dismissMenu];
189+
}
190+
186191
- (void)refreshToQueryData{
187192
UIView *curView = [self getCurContentView];
188193
if (curView && [curView respondsToSelector:@selector(refreshToQueryData)]) {

Coding_iOS/Controllers/RootControllers/MyTask_RootViewController.m

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,11 @@ - (void)viewWillAppear:(BOOL)animated{
158158

159159
}
160160

161+
- (void)viewWillDisappear:(BOOL)animated {
162+
[super viewWillDisappear:animated];
163+
[_myFliterMenu dismissMenu];
164+
}
165+
161166

162167
- (void)resetCurView{
163168
if (!_myProjects.isLoading) {

Coding_iOS/Views/TaskSelectionView.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ - (void)setup {
101101
_tableview.contentInset=UIEdgeInsetsMake(15, 0,0,0);
102102

103103

104-
int contentHeight=320;
104+
int contentHeight=100;
105105
if ((kScreen_Height-64)>contentHeight) {
106106
UIView *contentView=[[UIView alloc] initWithFrame:CGRectMake(0,64+contentHeight , kScreen_Width, kScreen_Height-64-contentHeight)];
107107
contentView.backgroundColor=[UIColor clearColor];

0 commit comments

Comments
 (0)