WKInterfaceController.openParentApplication is unavailable

I have an app that is currently available for the the Watch. In taking my first peek at iOS9, it only has 2 errors. One in the glanceController and the same in the interfaceController


'openParentApplication(_:reply:)' is unavailable


It doesn't look like openParentApplication is even an option with the WKInterfaceController anymore.


I know it's early in the process, but suggestions?

Are you trying to target watchOS 2?


If so, refer to the Apple Watch transition guide here

https://developer.apple.com/library/prerelease/watchos/documentation/General/Conceptual/AppleWatch2TransitionGuide/UpdatetheAppCode.html#//apple_ref/doc/uid/TP40015234-CH6-SW1


I havent had the time to try it myself yet but if you havent read that documentation I advise you do that first.

openParentApplication is not available in watchOS 2. It has been replaced by the WatchConnectivity framework, specifically - sendMessage:replyHandler:errorHandler:.

WKInterfaceController.openParentApplication is unavailable
 
 
Q