How to use the combine the data of picker view with Text开发者_运维百科 view and use that both value in next view?
As I understand, you want to use you picker's value and textView value in the next view. First variant - to make 2 properties in your next viewController and set them before pushing new viewController into stack. The second one - you can write your own initialization method, for example
- (id) initWithTextViewValue:(NSString*)textViewValue{ if(self = [super init]){ textInCurrentController = textViewValue; } return self; }
And so on. Then you just can create your controller
[[MyViewController alloc] initWithTextViewValue:textView.text];
精彩评论