These are chat archives for dzenbot/DZNWebViewController

20th
Jan 2015
Aftab
@abidullah
Jan 20 2015 11:47
hello there

I'm trying to add a close button to the DZNWebViewController , using this code

DZNWebViewController controller = [[DZNWebViewController alloc] initWithURL:[NSURL URLWithString:@"https://www.twitter.com/"]];
UINavigationController
navController = [[UINavigationController alloc] initWithRootViewController:controller];
UIBarButtonItem *closeButton = [[UIBarButtonItem alloc] initWithTitle:@"Exit" style:UIBarButtonItemStylePlain target:self action:@selector(closeButtonWithWebView:)];
controller.navigationItem.rightBarButtonItem = closeButton;
[self presentViewController:navController animated:YES completion:NULL];

can you help me
Aftab
@abidullah
Jan 20 2015 11:53
?