Is there such a method called "shouldperformseguewithidentifier" in WatchKit extension or something similar to that one? It is because i need to check before I push to another view.
A quick search in the docs for WKInterfaceController
shows no such method.
If you implement your navigation programatically – that is, without using segues – you can use whatever logic you like to determine when a push to another interface controller happens. You can use pushControllerWithName:context:
, for example.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.