Verifiy communication between phone and watch is working
Closed this issue · 2 comments
SeanDunford commented
We just haven't tested this yet.
SeanDunford commented
SeanDunford commented
In swift this was the only thing I could get to work. Need to fix the app group though.
Look here for more information.
I'm assuming this will work on the watch but who knows.
func foo(){
NSNotificationCenter.defaultCenter().addObserver(self, selector: "bar:", name: NSUserDefaultsDidChangeNotification, object: nil)
}
func bar(obj: NSNotification){
println("notification received")
}