Handle ForceTouch in WatchKit

120 Views Asked by At

My WKInterfaceController isnt static. On every call, there will be a new Game loaded.

If i ForceTouch on this Cotroller there comes my Menu with NewGame, restart and so on.

How can i avoid a reload of my WKInterfaceController, when the User DONT click on a menuitem button?

1

There are 1 best solutions below

0
On

Try putting your code in awakeWithContext() instead of willActivate()

as when you forceTouch ,your WKInterfaceController will reload and reEnter willActivate()