Leveraging RESideMenu
https://github.com/romaonthego/RESideMenu in my app, now has an issue of passing some urlString
related to lists in sideMenuViewControll
to show its web page in right UIWebView
.
Original codes like below:
case 2: {
navigationController.viewControllers = @[[self.storyboard instantiateViewControllerWithIdentifier:@"second"]];
[self.sideMenuViewController hideMenuViewController];
}
break;
"second"
is for secondViewController
that has a UIWebView
for showing web page at right side. secondViewController
has a property: urlString
.
My intention is to show its web page when selecting "Profile". Tried several way, however, I can't find one to set urlString
after navigationController.viewControllers = @[[self.storyboard instantiateViewControllerWithIdentifier:@"second"]];
How can I set and pass urlString
so that it could be used like NSUrl * url = [NSURL URLWithString:urlString]
?