function complete
This commit is contained in:
@@ -55,6 +55,8 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
- (void)reload:(NSString *)script;
|
||||
|
||||
- (void)reInit;
|
||||
|
||||
- (void)onShow;
|
||||
|
||||
- (void)onHidden;
|
||||
|
@@ -96,6 +96,12 @@ - (void)reload:(NSString *)script {
|
||||
[self onShow];
|
||||
}
|
||||
|
||||
- (void)reInit {
|
||||
self.rootNode.viewId = nil;
|
||||
[self callEntity:DORIC_ENTITY_INIT, self.initialParams, nil];
|
||||
[self callEntity:DORIC_ENTITY_CREATE, nil];
|
||||
}
|
||||
|
||||
- (void)onShow {
|
||||
[self callEntity:DORIC_ENTITY_SHOW, nil];
|
||||
}
|
||||
|
Reference in New Issue
Block a user