ios - Replace a Controller in Hierarchical Navigation Stack in WatchKit -


is there way replace current controller in navigation stack watchkit? this question how i'm doing in iphone app, have not been able find way duplicate watchkit.

the closest alternative i'm looking popping , somehow having controller know push new one. still haven't figured out yet.

i defined bool property in first interface controller. when call second interface controller, set property to true. then, when dismiss second view controller, first view controller's method willactivate called. check bool property , pop first interface controller if true.

this approach works has disadvantage: user sees first view controller short while , disappears via animation.

if has better idea, interested in it.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -