I am creating a code in which i want to pass integer value for one uiview to another view.In another uiview that integer value so as text of label.How make code for that?
Share
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.
Take this in .h file in SecondViewController
Make below function in SecondViewController
Now In First view controller do like this:
Now, In secondViewController viewWillAppear Method write this.
Please check spelling mistakes as I hand written this. Hope this help.
If you are not using navigationContoller then you can do something like this.