Tuesday, 15 January 2013

ios - How to properly test notifications in a WatchKit app? -


I'm getting some issues with showing the notification in the watchkit app:

1) I want to see the short-look interface in the simulator, but I do not know how this is possible?

2) Interfaces, I'm trying to launch local information from the couple ios app by running its related scheme instead of checking for a long time. I am in the iOS app:

  UILLocal notifications * Localization = [[UILOolk Notification Alok] Init]; LocalNotification.alertTitle = @ "test"; [[UIApplication shared application] Current local information now: local information];  

But I run the watchkit app scheme, and I also open the iOS app in the coupled iPhone simulator to execute that code snippet, and I have some I do not even see Apple Watch simulator ...

3) The long-looking interface is to get the color set in the storyboard as global tint , right? I'm always getting it in default brown ...

Thanks in advance

1) The short-look interface is not visible in the simulator, keep in mind that simulator is not working with full OS simulation in iOS.

2) Local notifications are not supported in the simulator. You can test only using your plans and JSON payload. See this Dev Forum thread:

3) The color of the sash is determined separately, as I can tell. You can change it in the storyboard.


No comments:

Post a Comment