UIWebview---OC与js的交互

dispatch_async(dispatch_get_main_queue(), ^{
//回调或者说是通知主线程刷新,
[self.web stopLoading];
self.web.delegate = nil;
DeleciousTabViewController *tab = [[DeleciousTabViewController alloc]init];
[self.navigationController.navigationBar setHidden:YES];
[self.tabBarController.tabBar setHidden:YES];
[self.navigationController pushViewController:tab animated:YES];
});

你可能感兴趣的:(UIWebview---OC与js的交互)