Skip to main content
Filter by
Sorted by
Tagged with
7 votes
0 answers
171 views

I use setTitle() to display a custom text on the top left corner (aligned to the clock) of a controller. But after upgrading to watchOS 10, the title is displayed on the right, under the clock, ...
Lavinia T.'s user avatar
5 votes
1 answer
366 views

In our existing watchOS application developed in Objective-C (not SwiftUI), we used to set the title property (WKInterfaceController class) of each screen of the application (in Interface Builder or ...
geolives's user avatar
  • 229
1 vote
1 answer
128 views

When only a single interface is shown, is it possible to set an action when the top title is tapped? image
Adrian Plapamaru's user avatar
0 votes
1 answer
121 views

Error - [WKInterfaceController pushControllerWithName:context:]: called from queue other than main. This is not supported and may fail in the future. In my iOS with apple watch, this error is coming ...
Deepak Sharma's user avatar
0 votes
1 answer
178 views

I looked at Apples' docs for their WKInterfaceController: Insets: The amount of space (in points) to insert between the edges of the interface controller and its content. Selecting Custom lets you ...
BlackStar's user avatar
0 votes
1 answer
47 views

I am trying to have a countdown timer in a interface controller and when the time is 0 I would like it to perform a segue to the next interface controller. Is there any way to do this? if ...
user234's user avatar
  • 59
0 votes
2 answers
177 views

Hi I have created a Watch app which has two pages but when I run it on apple watch and do switch between pages after few seconds one page(sometimes page1 and sometimes page2)goes black and It doesn’t ...
Developersian's user avatar
3 votes
0 answers
354 views

My watch app uses a WKInterfaceController to display a WKInterfaceTable. In case of errors, it displays an alert using presentAlert called in the presented WKInterfaceController. I have set a symbolic ...
Reinhard Männer's user avatar
0 votes
1 answer
272 views

What I found is ? Try to scroll horizontally between the interface controllers inside a root page controller. Randomly after a while (30-1 min). You will find that one of the interface controllers ...
Ahmed Fahmy's user avatar
1 vote
0 answers
106 views

Is there some way to get the display radius? I tried to use contentSafeAreaInsets but they are 0 inside willActivate() and awake(withContext:) which is very frustrating.
kelin's user avatar
  • 12.2k
0 votes
1 answer
707 views

My watch app has a page based interface where I don’t really know what InterfaceController is currently on the screen (it could be 1 of 4), however I need to pop an alert no matter what screen the app ...
GarySabo's user avatar
  • 6,830
0 votes
1 answer
119 views

Successfully played a video using 'WKInterfaceInlineMovie'. However, I need an option to start the video from the middle. Is this possible? Also, there is no delegate method to know when the video ...
iqra's user avatar
  • 1,301
3 votes
0 answers
147 views

I'm trying to inject my viewModel class to WKInterfaceController, in my InterfaceController I have set property but when I try to use it in func awake(withContext context: Any?), it's nil. So the way ...
Sebastian Zalewski's user avatar
2 votes
0 answers
354 views

I'm loading up 4 WKInterfaceControllers into a page based horizontal interface in watchKit. When a delegate callback fires alerting the app that the screen has been water locked, I want the watch to ...
GarySabo's user avatar
  • 6,830
0 votes
1 answer
328 views

I am creating my first WatchOS app as a companion to an iOS app. The Watch App needs to be able to display a bingo ball whose number is sent from the phone. Since I can't overlay images with WatchOS,...
Jim's user avatar
  • 75
1 vote
0 answers
188 views

When running my App I get an error that an interface controller was not found, which crashes the app in runtime. AppNameWatchExtension[809:615971] [default] -[SPRemoteInterface ...
Lukas Köhl's user avatar
  • 1,579
1 vote
1 answer
1k views

I have a WKInterfaceController with a WKInterfaceTable that lists some events a user has recorded in my app. A user can tap a row of the table to see more details about that event. To accomplish this,...
gohnjanotis's user avatar
  • 7,756
0 votes
1 answer
96 views

In watchOS, I'm implementing a Page-based navigation. The page based navigation contains three interface controllers; however, the first interface controller is the one that shows up first. In my ...
Harish's user avatar
  • 1,406
0 votes
1 answer
107 views

I am trying to build a similar flow to the Apple Watch Workout App where after you begin a workout you are presented with an InterfaceController showing the duration and you scan swipe left to see an ...
GarySabo's user avatar
  • 6,830
6 votes
1 answer
1k views

I'm getting this error in Xcode. 2018-02-26 07:13:22.326888-0500 Watch Extension[1298:2691330] [View] First responder warning: '<SPInterfacePicker: 0x14dc1740; frame = (76 0; 58 44); ...
GarySabo's user avatar
  • 6,830
5 votes
1 answer
521 views

I have added logs on both WKExtensionDelegate and WKInterfaceController. Here is what i get when playing around with starting and exiting the app in Watch OS Simulator. (Simulator is running watchOS ...
Dusan.czh's user avatar
  • 767
0 votes
1 answer
330 views

Can't figure this out, via the code below I let the user set a value on a WKPickerItem, store it in UserDefaults, then load it up the next time the InterfaceController is loaded and attempt to set the ...
GarySabo's user avatar
  • 6,830
1 vote
0 answers
194 views

I have this situation: one WKInterfaceController within an WKInterfaceTable and a Group within one label. I want to do this: insert the group and below it the table but only table has to scroll and ...
marco garbi's user avatar
0 votes
1 answer
174 views

I have this situation: I have an iWatch app that has a root WKInterfaceController and when it fires a particular event I present another WKInterfaceController in this way: WKInterfaceController * ...
marco garbi's user avatar
1 vote
1 answer
77 views

I was setting the IBOutlets for the first few objects of a Watch App. However, after doing a few IBOutlets it stops once I get to work on the third InterfaceController, closes InterfaceController....
user9023136's user avatar
2 votes
0 answers
377 views

Anyone explain me correct way the WKInterfaceController lifecycle? I would like to know how to use when creating an interface controller, WatchKit instantiates the class and calls its -init, -...
BuLB JoBs's user avatar
  • 871
3 votes
2 answers
860 views

I have multiple interface controllers that are both open at the same time in a paged-based format. I need to share information between these interface controllers. For my use case, I cannot force the ...
wazawoo's user avatar
  • 694
0 votes
1 answer
290 views

I have two Interface Controllers with FirstInterfaceController being the one where I have a context object I want to send to SecondInterfaceController. I am wondering why context is showing up as nil ...
ML.'s user avatar
  • 599
1 vote
1 answer
125 views

presentController(withNames:["ScreenOne", "ScreenTwo", "ScreenThree"], contexts:nil) when the above line is executed, the ScreenOne screen shows up as below: first page in the array is highlighted ...
as diu's user avatar
  • 1,090
0 votes
1 answer
132 views

I want to pass a string between two Interface Controllers. On InterfaceController1 I want to create a variable like: var level: String = ("easy") And then be able to access that variable on ...
Dylan Murphy's user avatar
2 votes
1 answer
124 views

I want to pass a string between two Interface Controllers. On InterfaceController1 I want to create a variable like: var level:String = ("easy") and then be able to access that variable on ...
user avatar
4 votes
2 answers
1k views

Basically, what I'm trying to do is pass an integer from one interface controller. The slider in the controller "SecondPage" will get an integer value from the slider and should send it to the ...
rowan atkinson's user avatar
0 votes
1 answer
48 views

I have a table on my main watch interface. Upon user selection, a 2nd interface will show and display more details about the user picked item. I'm thinking about adding a button to this 2nd ...
PaulLian's user avatar
  • 307
1 vote
1 answer
705 views

I know that this question has been asked a lot but it seems that nobody has given a proper answer. I have an interface controller that has a table. Now when the user selects a a row I push the ...
michaels's user avatar
1 vote
1 answer
169 views

Watch OS 3/Xcode 8 allows for stand alone watch apps. Can someone provide the best Swift array/method for loading data to a table in storbyboard in order from Interface Controller, updating after each ...
KnightRider's user avatar
0 votes
1 answer
428 views

I'm developing a WatchOS3 application in which the user receives local notifications with custom actions. The user has 2 custom actions that he can call on the notification, option 1 and option 2. ...
Fabian's user avatar
  • 1
0 votes
1 answer
322 views

I'm implementing a simple hierarchical interface for a watchOS app, using pushController(withName: String, context: Any?) to add views onto the stack. When trying to test on a watchOS 3 device, my app ...
endemic's user avatar
  • 1,376
0 votes
1 answer
67 views

Is there any way to change the AccessibilityLabel of a WKInterfaceController title? Or to turn off just the title VoiceOver? I have shortened the title to X|Y to show the user what they are viewing ...
Greg Robertson's user avatar
0 votes
0 answers
123 views

My application have to start automatically dictation (with presentTextInputControllerWithSuggestions with an empty array of suggestions). For this, I schedule a dictation with a delay after X seconds ...
Pierre Charpentier's user avatar
0 votes
1 answer
38 views

I am developing an Apple Watch app and trying to handle the error cases of not being able to connect to the iPhone: And needing to unlock the iPhone to access it: I have seen several apps that have ...
Mark Leonard's user avatar
  • 2,106
7 votes
1 answer
380 views

I am making a Apple Watch app and I'd like to set different root view controllers, depending on an initial condition. I cannot set the WatchKit rootInterfaceController directly though, because it is ...
marcelosalloum's user avatar
1 vote
1 answer
78 views

Hi I am new to WatchKit development. I want to know that can I update a single interface controller with multiple data for button clicks
ReB's user avatar
  • 117
2 votes
2 answers
146 views

I want to make the interface controller check to make sure it is still in the foreground when I get a reply from the phone. If it is, perform a haptic to let the user know it finished working. ...
Charlie's user avatar
  • 1,289
1 vote
3 answers
2k views

Is there a way to prevent the user from dismissing a modal controller? I think it is pretty common to want to "block" the main Watch App interface while asking the user to open the iPhone counterpart ...
E. Rivera's user avatar
  • 11k
1 vote
1 answer
329 views

On WKInterfaceController, is there a way to add a button (such as 'Done') at the top right corner of the watch screen instead of the time?
dowi's user avatar
  • 1,055
1 vote
0 answers
56 views

I've been debugging my watch app for a few hours now because every time I try to segue to a new interface controller, my app crashes after the return statement in contextForSegueWithIdentifier. I was ...
Tessa's user avatar
  • 176
2 votes
1 answer
99 views

Is there a way to know in code when user has closed a modal by tapping the title? Apple's documentation states: The title of the modal interface is set to the string Cancel unless the presented ...
juhan_h's user avatar
  • 4,021
2 votes
0 answers
105 views

Watchkit offers 3 types of navigation: Page-based, modal and hierarchical interfaces. Imagine that kind of hierarchy: Main controller V1 -> Modal controller V2 -> Push to controller V3 The main ...
Edvardas's user avatar
  • 586
1 vote
1 answer
339 views

I'm trying to customise title in the WK Status Bar of my first Controller. The correct way should be this: public func setTitle(title: String?) // title of controller. displayed when controller ...
Matte.Car's user avatar
  • 2,041
0 votes
1 answer
392 views

I am calling the `[[WCSession defaultSession] updateApplicationContext:message error:error]` method which is triggered in my `-(void)session:(WCSession *)session didReceiveApplicationContext:(...
JMS's user avatar
  • 281