UIPageViewController: How to refer the UIPicker selected Value from 1 Viewcontroller to another...
- by Abhinav
I am referring the code from here, please have look at the code while answering my question :
http://www.ioslearner.com/wp-content/uploads/2011/12/UIPageViewControllerDemo.zip
important notes and few changes:
I basically have a viewcontroller and contentviewcontroller .
ViewController - have following
UIPAgeViewController Datasource and Deligate
UIPickerView - upon next and previous page turn the value in the PickerView changes
contentviewcontroller - has following
UIWebview - defined in Viewdidload of contentviewcontroller which dynamically fetches a html page based upon the string value (LabelContents) sent through following method
-(UIViewController *)pageViewController:(UIPageViewController *)pageViewController
viewControllerBeforeViewController:(UIViewController *)viewController
is there a way to populate the UIWebview in contentviewcontroller based upon the row selected in UIPickerView ?
Kindly help.