mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Use the method form for UIViewController.isViewLoaded, since it is supported by Xcode 7.3.1
This commit is contained in:
@@ -68,7 +68,7 @@
|
||||
// before the view controller
|
||||
__weak __typeof__(self) weakSelf = self;
|
||||
[_node onDidLoad:^(__kindof ASDisplayNode * _Nonnull node) {
|
||||
if (weakSelf.viewLoaded == NO) {
|
||||
if ([weakSelf isViewLoaded] == NO) {
|
||||
[weakSelf view];
|
||||
}
|
||||
}];
|
||||
|
||||
Reference in New Issue
Block a user