When I was passing the string to first view to second view it gives me null in my second view.
It’s print right on the first view.
please give me solution.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
use NSUserDefault for storing your string and use it in your second view
or second option
define string in your secondview
use it in your first view when you push your controller