ios - what is the correct approach to push or segue a new view from only one cell of a dynamic tableview -
ios 6 , xcode 4.6.2 using storyboards
heres problem. have tableview 7 cells using dynamic prototype. segue third cell tableview (which going allow user select country , pass country back.)
is possible set 1 cell triggers segue ?
if not, presume need use didselectrowatindexpath method - if haven't drawn seque in storyboard cant call performseguewithidentifier because there no identifier- , no segue
any ideas should ?
cheers
simon
don't draw segue cell prototype in table. instead draw files owner
icon below table view controller next table view controller. give identifier , call
[self performseguewithidentifier:@"yoursegueidentifier" sender:self];
in tableview:didselectrowatindexpath
.
Comments
Post a Comment