Skip to content

Commit

Permalink
Edges for iOS7
Browse files Browse the repository at this point in the history
  • Loading branch information
escoz committed Jul 20, 2013
1 parent 1a4612b commit d894d69
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions quickdialog/QMultilineTextViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ - (void)viewWillAppear:(BOOL)animated
_viewOnScreen = YES;
[_textView becomeFirstResponder];
[super viewWillAppear:animated];

if ([self respondsToSelector:@selector(setEdgesForExtendedLayout:)])
self.edgesForExtendedLayout = UIExtendedEdgeNone;
}

- (void)viewWillDisappear:(BOOL)animated {
Expand Down

0 comments on commit d894d69

Please sign in to comment.