Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating Complications for Apple watch

I know how to create the basic watch complications.

I want to create complication like native Battery one (Circular Ring).

How can I fetch live data for the complications, maybe API call, or data from iPhone?

Can I create more then one same complication type?

like image 711
Parth Adroja Avatar asked Apr 05 '17 05:04

Parth Adroja


People also ask

Can you make your own Apple Watch face?

Here's how to get a custom watch face using Facer on your Apple Watch: 1) Download Facer for free from the iOS App Store and open it on your iPhone. 2) Finish the initial app setup. 3) Inside the Facer app, you can tap Create your own design to build a custom watch face.


1 Answers

I want to create complication like native Battery one (Circular Ring).

How can I fetch live data for the complications, maybe API call, or data from iPhone? -

  • Use WatchKit.framework to do this and use WCSession class to perform the session talking between the phone and the watch.

  • You could also use the background tasks API introuduced in WatchOS 3 to make API calls in the background - https://developer.apple.com/library/content/releasenotes/General/WhatsNewInwatchOS/Articles/watchOS3.html

  • To update complications in watch OS 3 - https://developer.apple.com/reference/watchkit/wkapplicationrefreshbackgroundtask

Can I create more then one same complication type?

No you cannot, one app can have only one type of complication.

like image 51
Satheesh Avatar answered Sep 22 '22 22:09

Satheesh