How to change the Images in table view which is lied in the new view controller based on row selected .
e.g. Say I hv category table in my Category view controller.Now when user taps on Camera,a new view controller should load containing all the camera images and on tap of any image,it should display its Detail.
how to implement this , as I am new to this tech.,Please help me …
you can follow some simple steps to make it working.
1. First View: add the following code in your didSelectRowAtIndexPath method of tableview
2.Second View:
In your .h file, add the following initialization method:
IN your .m file, implement the initilization method:
NOTE: declare all the variables in your .h file and make them as property and synthesize them in your .m file
hope this helps