NSUserDefaults not working on Xcode beta with Watch OS2

前端 未结 5 1751
一个人的身影
一个人的身影 2020-11-27 07:02

I just installed the latest beta of Xcode to try Swift 2 and the improvements made to the Apple Watch development section.

I\'m actually having an h

5条回答
  •  醉酒成梦
    2020-11-27 07:38

    It took me hours and hours to get this. Watch this very useful video! It gives you the basic idea of how to use WatchConnectivity to share NSUserDefault between the iPhone app and wacth!

    https://www.youtube.com/watch?v=VblFPEomUtQ

提交回复
热议问题