iOS:DoricContext add vc
This commit is contained in:
@@ -112,5 +112,10 @@ - (void)onShow {
|
||||
- (void)onHidden {
|
||||
[self callEntity:DORIC_ENTITY_HIDDEN withArgumentsArray:@[]];
|
||||
}
|
||||
|
||||
- (UIViewController *)vc {
|
||||
if(!_vc) {
|
||||
return [UIApplication sharedApplication].keyWindow.rootViewController;
|
||||
}
|
||||
return _vc;
|
||||
}
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user