如何使用多个 UITabBar 选项卡来控制单个 UIWebView?
一个例子:
Pressing tab1: UIWebView loads index.html
Pressing tab2: the same UIWebView loads customers.html
Pressing tab3: the same UIWebView loads tos.html
我的方法是将 UIWebView 放在 AppDelegate 中,并将每个 ViewController 的 self.webview 设置为单个 UIWebView。但是,WebView 会显示,但是是白色的并且不加载任何内容。
有什么提示吗?