|
[[APIManager manager]setWebViewDelegate:self];
self.view.backgroundColor=[UIColor whiteColor];
NSString *url = @"widget://index.html";
NSString *name = @"root";
APIWindowContainer *windowContainer = [APIWindowContainer windowContainerWithAttribute{@"url":url, @"name":name}];
[windowContainer startLoad];
[self.navigationController pushViewController:windowContainer animated:NO];
self.windowcontain=windowContainer; |
|