Webview in UINavigationBar
I want a small UIWebView on a navigation bar. Is it possible since NavigationBar takes only UINavigationItem ?
If you want the UIWebView
actually showing on the UINavigationBar
, you can set the UINavigationItem.titleView
property to point to it.
If you want to show the UIWebView on the screen when a new navigation item is pushed on the navigation bar, then you should be using the navigation bar with an UINavigationController
.
精彩评论