watchkit

WCSession - PayloadTooLarge

 ̄綄美尐妖づ 提交于 2019-12-23 03:06:29
问题 Apple Documentation shows: PayloadTooLarge - An error indicating that the item being sent exceeds the maximum size limit. This type of error can occur for both data dictionaries and files. Available in watchOS 2.0 and later. Does anyone know what the max size limits are for both these methods are for transferring data from the watch to the phone?: func transferUserInfo(_ userInfo: [String : AnyObject]) -> WCSessionUserInfoTransfer and func transferFile(_ file: NSURL, metadata metadata:

WatchKit Notification Title Color

不想你离开。 提交于 2019-12-23 02:22:20
问题 Is it possible to set the color of the application title (the text that is on a sash). It seems that it is always fixed to white. In my application I have a light background image with a color that is close to white in the right corner. This makes the name of the app barely readable. I could not find a way to customize the app title color neither in xCode nor programmatically. It might well be that it is fixed to white. But if anybody changed it, please share the solution! 回答1: You can click

Exit from a Watchkit app is handled by the Watchkit OS itself, I don't need to clear or reset screen?

你说的曾经没有我的故事 提交于 2019-12-23 02:16:20
问题 OK, this is pretty basic but I've read the documentation over and over and want to be sure I've got this right. In plain language, my watchkit app will be shut down by some user interaction exiting the app that's external to my code, right? I don't need to clear or reset the screen with any kind of close procedure that sets it up for another run? I don't need to build an "Exit" or "Close app" routine, right? It's confusing because the documentation implies the app will deactivate once it's no

Launch watch kit app from within another watch kit app

我怕爱的太早我们不能终老 提交于 2019-12-22 12:39:20
问题 I know on the phone it is possible to launch an application from within another using something along the lines of... -(IBAction) openYoutube:(id)sender { UIApplication *ourApplication = [UIApplication sharedApplication]; NSString *ourPath = @"http://www.youtube.com/watch?v=TFFkK2SmPg4"; NSURL *ourURL = [NSURL URLWithString:ourPath]; [ourApplication openURL:ourURL]; } This will launch the youtube app My research hasn't led to anything useful and I doubt there is something out there, but what

Fixing “Install of Apple Watch Application never finished”

痞子三分冷 提交于 2019-12-22 10:28:25
问题 For the past 4 weeks, I've had no success in testing a Watch app for my current app project. Initially, I was using Xcode 7 beta 5. However, I'm noticing this behavior in the Xcode 7 GM as well. I created a radar for this with Apple, but they closed it as a duplicate without explaining how to fix this. I have already reviewed the questions here and here, and have attempted every answer they have suggested. But the issue still isn't resolved. My issue: I have an existing iPhone application. I

Can we create multiple glance interfaces in a single Watchkit app?

半世苍凉 提交于 2019-12-22 09:49:08
问题 I am trying to create a WatchKit App that needs to show multiple pieces of information to the users in form of glances.Is there a way to create multiple glances in such an app. 回答1: You cannot make more than one glance per application But nothing prevents you from creating one glance, that will contain all possible states of "each glance type", and then, in runtime perform hide/show of specific components of the glance. Glance Top Group State1 State2 (hidden) StateN (hidden) Bottom Group

How can I avoid the error “Error Launching 'AppName' WatchKit Extension” when trying to build and run a WatchKit Extension on an actual Apple Watch?

廉价感情. 提交于 2019-12-22 05:38:09
问题 When I try to build and run a WatchKit extension on my real Apple Watch, I sometimes get the following error message: I've tried to build the parent application for the iPhone and then again for my WatchKit app but I still get the error message. Does anyone know what causes this error message and how to deal with it? 回答1: This seems to happen when it takes a long time to install the WatchKit App on the actual watch and Xcode times out waiting for the process to start due to the long install

Launch Watch App into middle view

瘦欲@ 提交于 2019-12-22 04:45:10
问题 Basically, my app is laid out in the page format and I would like it to launch into the middle of the three pages. There is no way of setting a previous page segue, so I have been trying to do it in code. I have the main view set to the first view, and I have tried a variety of methods to segue to the middle view as soon as the app is launched. Here is the two ways I tried: if segueCheck == true { self.pushControllerWithName("budget", context: self) self.presentControllerWithName("budget",

Crashlytics / Fabric distribution of Watch-enabled iOS-App?

守給你的承諾、 提交于 2019-12-22 03:48:09
问题 I sure am missing something obvious here - but no matter where I looked I found nothing to aid me here so I'll give it a try: I'm developing an (obj-c) app in wich I have integrated the Fabric / Crashlytics framework and wich I distribute to my testers via the fabulous Fabric-Site. That worked flawless for many, many versions. Now I have added AppleWatch-compatibility to my app via integration of WatchKit. All works fine. But distribution via Fabric to my beta-testers just won't work any more

Is heart rate raw data available for developers via WatchKit?

你说的曾经没有我的故事 提交于 2019-12-22 03:39:22
问题 Is it possible to develop third party apps using Apple's WatchKit with an API for heart beat/rate data access/raw data access? Is the WatchKit SDK publicly available for developers now? 回答1: Heart Rate Raw Data information is now available in Watchkit for watchOS 2.0 . WatchOS 2 includes many enhancements to other existing frameworks such as HealthKit , enabling access to the health sensors that access heart rate and health information in real-time. You could check this information in the