add Navbar for iOS

This commit is contained in:
pengfei.zhou
2019-11-25 14:20:18 +08:00
parent 713c043f71
commit 28f29d7396
10 changed files with 173 additions and 6 deletions

View File

@@ -24,7 +24,6 @@ @implementation DoricPanel
- (void)config:(NSString *)script alias:(NSString *)alias {
self.doricContext = [[[DoricContext alloc] initWithScript:script source:alias] also:^(DoricContext *it) {
it.navigator = [[DoricDefaultNavigator alloc] initWithNavigationController:self.navigationController];
[it.rootNode setupRootView:[[DoricStackView new] also:^(DoricStackView *it) {
it.width = self.view.width;
it.height = self.view.height;