Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法在选项卡式应用程序的 WebView 中集成前进/后退按钮?有任何想法吗?
我不知道为什么选项卡式应用程序很重要,但一般来说,您可以创建一个 UIControl 对象,例如UIButton,添加一个目标和选择器,并在您调用的函数中goBack或goForward在UIWebView.
UIButton
goBack
goForward
UIWebView