ios - UIViewImage push to new UIViewController IN STORYBOARD -
from questions this , this, know how have uiviewimage
push new uiviewcontroller
programatically.
but how can in in storyboard? storyboard , not have multiple xib
files everywhere.
i've enable user interaction through storyboard, still can't create transition...
- drag uiviewcontroller object onto storyboard canvas
- select viewcontroller , in top menu bar, click editor > embed in > navigation controller.
- drag uiviewcontroller onto storyboard
- control drag first uiviewcontroller new uiviewcontroller , select push resulting options.
- click on segue created , go attributes inspector , enter identifier segue.
- in viewcontroller code you're handling uiimageview tap, call
[self performseguewithidentifier:@"yoursegueidentifier" sender:self];
Comments
Post a Comment