tags:

views:

50

answers:

1

How to use the combine the data of picker view with Text view and use that both value in next view?

A: 

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];
Morion