mirror of
https://github.com/samsonjs/samhuri.net-ios.git
synced 2026-04-16 13:05:51 +00:00
make sure UI is configured after restoring state
This commit is contained in:
parent
33979d0369
commit
2b219088ce
1 changed files with 3 additions and 6 deletions
|
|
@ -160,10 +160,9 @@
|
|||
[self.toolbar setItems:self.toolbar.items animated:YES];
|
||||
}
|
||||
|
||||
- (void)viewDidLoad {
|
||||
[super viewDidLoad];
|
||||
- (void)awakeFromNib {
|
||||
[super awakeFromNib];
|
||||
[self setupTitleView];
|
||||
[self configureView];
|
||||
}
|
||||
|
||||
- (void)viewWillAppear:(BOOL)animated {
|
||||
|
|
@ -172,9 +171,7 @@
|
|||
[notificationCenter addObserver:self selector:@selector(applicationWillResignActive:) name:UIApplicationWillResignActiveNotification object:nil];
|
||||
[notificationCenter addObserver:self selector:@selector(keyboardWillShow:) name:UIKeyboardWillShowNotification object:nil];
|
||||
[notificationCenter addObserver:self selector:@selector(keyboardWillHide:) name:UIKeyboardWillHideNotification object:nil];
|
||||
if ([self pasteboardHasLink]) {
|
||||
[self configureLinkView];
|
||||
}
|
||||
[self configureView];
|
||||
}
|
||||
|
||||
- (void)viewWillDisappear:(BOOL)animated {
|
||||
|
|
|
|||
Loading…
Reference in a new issue