ios - How to get an SKView to trigger a method in its parent SKView upon dismissal -
I have an SKVU running the gameplay and when the level is completed (or failed) when the user has an action (Restart, next level, etc.), then I need to dismiss this SQLV ( [self removeFromView]
and trigger a suitable method in the gameplay SKVU. ?
However the answer to @nickfoc is appropriate You can also consider using NSNotification
are. The ViewController would listener, and the method can be triggered by post only applicable notification.
Comments
Post a Comment