ios - Load second app interface in a segue -


basically want depicted in image below:

however loads middle , third interface, first hidden both swiping onto , in circle indicators @ bottom.

segue depiction

i'd able load second interface , swipe left first , swipe right third. there way achieve this?

building first apple watch app on here :)

looks there concept of uinavigationcontroller-ish behaviour built wkinterfacescontroller.

take at: pushcontrollerwithname(_:context:)

and docs found here:

hierarchical. style suited apps more complex data models or apps data more hierarchical. hierarchical interface starts single root interface controller. in interface controller, provide controls that, when tapped, push new interface controllers onto screen.

edit: looking more. watchkit limited looks.

the best solutions come add 3 interfacecontroller, segues between. left -> main -> right.

enter image description here

then assign custom skinterfacecontroller main:

class interfacecontroller: wkinterfacecontroller {     override init() {     super.init()     becomecurrentpage()   }  } 

this creates annoying animation in beginning see "left" on start , how "main" animated pushed in. don't see better way @ stage of watchkit.


Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -