mirror of
https://github.com/samsonjs/samhuri.net-ios.git
synced 2026-04-27 15:07:44 +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];
|
[self.toolbar setItems:self.toolbar.items animated:YES];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)viewDidLoad {
|
- (void)awakeFromNib {
|
||||||
[super viewDidLoad];
|
[super awakeFromNib];
|
||||||
[self setupTitleView];
|
[self setupTitleView];
|
||||||
[self configureView];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)viewWillAppear:(BOOL)animated {
|
- (void)viewWillAppear:(BOOL)animated {
|
||||||
|
|
@ -172,9 +171,7 @@
|
||||||
[notificationCenter addObserver:self selector:@selector(applicationWillResignActive:) name:UIApplicationWillResignActiveNotification object:nil];
|
[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(keyboardWillShow:) name:UIKeyboardWillShowNotification object:nil];
|
||||||
[notificationCenter addObserver:self selector:@selector(keyboardWillHide:) name:UIKeyboardWillHideNotification object:nil];
|
[notificationCenter addObserver:self selector:@selector(keyboardWillHide:) name:UIKeyboardWillHideNotification object:nil];
|
||||||
if ([self pasteboardHasLink]) {
|
[self configureView];
|
||||||
[self configureLinkView];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)viewWillDisappear:(BOOL)animated {
|
- (void)viewWillDisappear:(BOOL)animated {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue