Ios UIWebView:在导航栏中添加进度栏
我是iOS开发新手。在Ios UIWebView:在导航栏中添加进度栏,ios,uiwebview,progress-bar,Ios,Uiwebview,Progress Bar,我是iOS开发新手。在UIWebView中,我想在导航栏中添加进度条 图片: NSString *urlAddress = @"http://www.facebook.com"; [self.navigationController.navigationBar setTitleTextAttributes:@{NSForegroundColorAttributeName : [UIColor blackColor]}]; UIBarButtonItem *cancel = [[UIBarBu
UIWebView
中,我想在导航栏中添加进度条
图片:
NSString *urlAddress = @"http://www.facebook.com";
[self.navigationController.navigationBar
setTitleTextAttributes:@{NSForegroundColorAttributeName : [UIColor blackColor]}];
UIBarButtonItem *cancel = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemStop target:self action:@selector(cancelAction:)];
self.navigationItem.rightBarButtonItem = cancel;
self.navigationItem.title =urlAddress;
所以,问题是…?也许你可以从GitHub上的这个库中引用?