ios - Opening ViewController programmatically -
i have viewcontroller inside same story board want switch clicking button. problem when try control-drag second view controller create outlet inside viewcontroller.m file of primary viewcontroller, outlet isn't created.
in android can open new activity different ui inside of activity. sure same can achieved in ios well, question how can create outlet of second view controller , open programmatically?
it not possible in ios create iboutlet
1 viewcontroller
viewcontroller
, can use uistoryboardsegue
purpose.
i suggest follow tutorial: storyboards apple documentation. understand how viewcontrollers connected.
Comments
Post a Comment