watchkit Questions
1
I've historically used the WKInterfaceController's property called "crownSequencer" to listen to rotations in the crown (see code below). I can grab the "rotationalValue" of the...
18
Solved
I have a WatchKit app that runs fine in the Simulator. But when I try to run it on an actual device it never finishes installing and never provides any error message or feedback.
The iOS app inst...
4
I upgraded from macOS Catalina (10.15.7) to Big Sur (11.5.1) going from an Intel i7 MacBook Pro to an M1 iMac subsequently upgrading to Xcode 12.5.1 from 12.4
The iOS app will compile and run on a ...
3
I have created this function called createTeams() which is creating data for the table.
func createTeams() {
let team1 = teams(Team1: "Chelsea", Team2: "Arsenal" , startTime: "15/06/2019", locati...
3
Solved
I'm using a NavigationLink inside of a ForEach in a List to build a basic list of buttons each leading to a separate detail screen.
When I tap on any of the list cells, it transitions to the detai...
7
I updated Xcode to version 11.1 and got this expected error:
WatchKit is not available when building for iOS Simulator.
Then I deleted WatchKit from iOS app target as suggested. Since then I a...
Decern asked 22/10, 2019 at 14:21
9
Solved
Is there an ActivityIndicator (or something like it) in WatchKit for Apple Watch? How do you all give the user feedback about some longer lasting background activity?
Scurlock asked 6/3, 2015 at 18:20
12
Solved
We know that there are two screen sizes for Apple Watch: 38mm and 42mm. The WKInterfaceDevice class provides a readable property named screenBounds. I wrote an extension for WKInterfaceDevice, tryi...
Calci asked 9/4, 2015 at 2:38
3
Solved
Typically I would use presentTextInputControllerWithSuggestions() to show the TextInput field. But this isn't available in swiftUI because it is a function of WKInterfaceController. Do I have to us...
Felder asked 5/7, 2019 at 12:40
0
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, pus...
Halfbreed asked 3/10, 2023 at 11:47
5
Solved
Worked on Xcode 10. Now in the beta I can't build I keep getting this error:
a "WatchKit" is not available when building for iOS Simulator.
Consider using #if !os(iOS) to conditionally import ...
5
Solved
I was hoping someone could shed some light on this. I've tried researching but couldn't really find anything...
Is there a way to share a class between the iPhone application and the apple watch e...
9
I added a shared framework to share code between app and watch extension. Later I removed the shared framework since it cause lots of problems. I can build
and run my app on iphone and watch. Howev...
7
In our iOS app we utilize a shared container to share files between our main iOS app and its extension (specifically WatchKit Extension), using [NSFileManager containerURLForSecurityApplicationGrou...
5
iOS Watch app fails to install - WatchKit 1.0 apps are no longer installable on this watchOS version
I have added Watch App target for existing iOS app but I have problem to install it on watch simulator. It always fails with this message
This app could not be installed at this time.
Domain: IXUs...
2
I am having some issues localizing app display name on apple watch companion app. Following the guide lines i have localize the CFBundleName as follow:
CFBundleDisplayName = "My app";
CFBundleNam...
Progeny asked 21/9, 2015 at 13:2
6
Solved
I just added a Watch app to my project and try :
override func awakeWithContext(context: AnyObject?) {
super.awakeWithContext(context)
let res = WKInterfaceController.openParentApplication(["key...
Gimcrack asked 15/7, 2015 at 19:7
9
Is there a more elegant solution to load an external image on the watch than the following ?
let image_url:String = "http://placehold.it/350x150"
dispatch_async(dispatch_get_global_queue(DISPATCH...
Sharpe asked 5/4, 2015 at 15:47
5
Solved
I'm writing an extension for the Apple Watch which aim is to guide the user through a set of steps. I don't have the watch to test the extension but I need to be sure that the screen will remain al...
Armond asked 7/4, 2015 at 15:9
3
Solved
I am working on a timer app for the Apple Watch.
At a specific time (end of timer) the iPhone fires a scheduled UILocalNotification which on the inactive Apple Watch should trigger a haptic alert ...
Acromegaly asked 12/5, 2016 at 13:44
1
I have an iOS app with a Apple Watch extension. I downloaded Xcode 14 and have the warning:
WatchKit storyboards are deprecated in watchOS 7.0 and later. Please migrate to SwiftUI and the SwiftUI ...
Ringster asked 9/9, 2022 at 4:50
3
Solved
Bug:
I'm consistently getting error code -1009 "The Internet connection appears to be offline." errors when making URLSession requests in an Apple Watch extension on an Apple Watch Series 3 when c...
Cerallua asked 27/9, 2017 at 3:41
3
iOS can use layer.cornerRadius to make a round UIButton.
Does WKInterfaceButton have this property?
If not, how can I make a round WKInterfaceButton in WatchKit.
Iden asked 11/4, 2016 at 7:19
2
Solved
Can a standalone Apple Watch app open a URL like we can in iOS:
UIApplication.sharedApplication().openURL(url!)
I want to display a message about an update when a new app is published. I want the ...
Streamy asked 31/12, 2020 at 7:23
2
Solved
i'm trying to create an image view for a watch app, i'm trying to create programmatically but the code used in a classic view controller doesn't work.
let imageName = "yourImage.png"
let image = U...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.