佚名通过本文主要向大家介绍了uiwebview,ios uiwebview,uiwebview是什么,uiwebview中访问https,uiwebview cookie等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
问题: UIWebView进入第二级网页时隐藏tabbar
描述:
解决方案1:
描述:
如题,求大神帮忙
解决方案1:
只是单纯进入第二级页面时隐藏,而不考虑其他的话
NSInteger pageCount = 0
- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType{
pageCount ++;
// 判断是否是二级页面
if (pageCount == 2){
// 隐藏导航栏
}
return YES;
}