Skip to content

Commit

Permalink
Merge pull request escoz#589 from bvirlet/master
Browse files Browse the repository at this point in the history
Call super in viewDidLoad
  • Loading branch information
escoz committed Oct 14, 2013
2 parents b19b728 + aa842df commit 31ce96e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions quickdialog/QMultilineTextViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ - (void)loadView

- (void)viewDidLoad
{
[super viewDidLoad];
if ([self respondsToSelector:@selector(edgesForExtendedLayout)])
self.edgesForExtendedLayout = UIRectEdgeNone;
}
Expand All @@ -61,9 +62,6 @@ - (void)viewWillAppear:(BOOL)animated
_viewOnScreen = YES;
[_textView becomeFirstResponder];
[super viewWillAppear:animated];

//if ([self respondsToSelector:@selector(setEdgesForExtendedLayout:)])
// [self performSelector:@selector(setEdgesForExtendedLayout:) withObject:UIRectEdgeNone];
}

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

0 comments on commit 31ce96e

Please sign in to comment.