Skip to content

Commit a3212b6

Browse files
committed
发冒泡页面弹出时,toolBar会闪烁一下的bug
1 parent a6f879c commit a3212b6

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

Coding_iOS/Controllers/TweetSendViewController.m

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,10 @@ - (void)viewDidLoad
7272

7373
- (void)viewDidAppear:(BOOL)animated{
7474
[super viewDidAppear:animated];
75-
[self becomeFirstResponder];
75+
[self inputViewBecomeFirstResponder];
7676
}
7777

78-
- (BOOL)becomeFirstResponder{
79-
[super becomeFirstResponder];
78+
- (BOOL)inputViewBecomeFirstResponder{
8079
TweetSendTextCell *cell = (TweetSendTextCell *)[self.myTableView cellForRowAtIndexPath:[NSIndexPath indexPathForRow:0 inSection:0]];
8180
if ([cell respondsToSelector:@selector(becomeFirstResponder)]) {
8281
[cell becomeFirstResponder];

0 commit comments

Comments
 (0)