what i have is when you select something is a uipickerview a label is than changed to the contents of the picker view. This works however I’m having trouble with taking the contents of the label in my pickerView.h and send it to set the contents of another label in my pickerDuration.h(secondViewController)
Share
okay try this….
Have a
NSStringin urSecondViewControllerand make sure u create a property of it (strongif u are using IOS 5 ARC) Synthesize itYou must have an object of
SecondViewControllerfor navigation purpose. Use the same object to set the value like thismake sure u do that before navigating to the next view
EDIT
Okay Try this
After performSegueWithIdentifier:sender: your view controler will call
assuming your new view controller has some propertys to set: