Apple Watch - Deep link? URL Scheme? - watchkit

after looking for this a bunch, i couldin't find how to know ( if it is permitted by Apple ) what are the URL Scheme or Deep Link for some default apps from Apple Watch.Let me explain:
I builded an Apple Watch app, and i whant to open another app, like, "Heart Rate".I want to open this app on Apple Watch from my Apple Watch app.
If i'll build this on iOS ( iPhone ) and want to open Message app, it has an sms: scheme and then i can open this app on iPhone.
Now, on Apple Watch i dont know how to get this URL Scheme for Heart Rate, Breathe or Weather, i.e. the defaults Apple Watch.
Thanks

Related

Is there any means to script automate Apple Watch app?

Is there any means to script/automate Apple Watch app? I tried using instruments for automation, however it did not seem to work, i also could not automate using xctest , using xctest it just launches the iphone app, when trying to record and the watch app is not launched. did anybody here automate an apple watch app?

How to get UDID for Apple Watch

Is there any way to extract UDID for Apple Watch?
I have clicked on icon button inside watch but did not find anything?
Connect the paired iPhone to your computer and open Xcode. Open Window > Devices and click on your iPhone. The paired Watch's information will be available in the same view, including UDID.

Can an Apple Watch have a Glance only?

Is it possible to only have a Glance (Glance Entry Point) in your Apple Watch app, skipping the actual Watch App (Main Entry Point)?
Not at this time, unfortunately. Glances automatically launch the main app when tapped. You'll need an app for it to open.
No. Perhaps Apple might add this feature in the future, but right now, you need an app.

Simulator build for Apple Watch

I want to know if anyone could suggest that how can I create Simulator build for Apple Watch.
I'm following the steps in this [link to create simulator build](https://developers.facebook.com/docs/iOS /creating-iOS -simulator-build-for-review)
but if we use command like xcodebuild -showsdks
It only showing iPhone Simulator.
Though I've created simulator build using these command for project having target for Apple Watch, but it do not run on watch simulator.
So, it will be helpful if anyone could suggest how to create Simulator build for Apple Watch.
Since your WatchKit app and extension are part of your iPhone app you just need to create simulator build for your iPhone app. Then when you install your iPhone app in the iPhone simulator it will also install your WatchKit app on the watch.
If you just want to run your app on the Apple Watch from Xcode then you can just select your WatchKit app in the list of schemes and then build & run. You will need to enable to Apple Watch display as Pablo A. mentions.
Go to the simulator (iOS 8.2 or greater) and
Hardware - External Displays - Apple Watch

Apple Watch Main menu screen in the Emulator

When i Launch an watch app, it shows the watch app screen that we designed. How can we see the Home screen of an apple watch in the Emulator.
This is not possible, at least not yet.
In Xcode you have to choose which target scheme (app or glance) you want to run in the simulator.
I think Apple does not want to show what the Apple Watch might look like before it is released.
Now possible in Xcode 7! Going to the Home option in the menu under Hardware (Cmd+Shift+H) takes you to the apps view home screen.
Select Watch Simulator->Hardware Menu->Home at any version of XCode after 7.

Resources