Skip to content

Commit f717628

Browse files
committed
指示条
1 parent 8cd80a2 commit f717628

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

Coding_iOS/Controllers/EditTopicViewController.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ - (void)viewDidLoad
7575
NSDictionary* userInfo = [aNotification userInfo];
7676
CGRect keyboardEndFrame = [[userInfo objectForKey:UIKeyboardFrameEndUserInfoKey] CGRectValue];
7777
self.inputContentView.contentInset = UIEdgeInsetsMake(0, 0, CGRectGetHeight(keyboardEndFrame), 0);
78+
self.inputContentView.scrollIndicatorInsets = self.inputContentView.contentInset;
7879
}
7980
}];
8081

Coding_iOS/Controllers/TaskDescriptionViewController.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ - (void)viewDidLoad {
5555
NSDictionary* userInfo = [aNotification userInfo];
5656
CGRect keyboardEndFrame = [[userInfo objectForKey:UIKeyboardFrameEndUserInfoKey] CGRectValue];
5757
self.editView.contentInset = UIEdgeInsetsMake(0, 0, CGRectGetHeight(keyboardEndFrame), 0);
58+
self.editView.scrollIndicatorInsets = self.editView.contentInset;
5859
}
5960
}];
6061

0 commit comments

Comments
 (0)