Is it possible to get the Y location and height on screen of the Digital Crown? I capture the crownDidRotate event to perform my own actions, and want to show my own visual indicator next to the crown, like the one that comes up with you scroll a list. I could hard code the values based on the watch model, just wondered if there was a way to get this programmatically so I don't have to update it for newer models if the location changes. Thanks
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Is it possible to share data/settings between an iPhone app and a standalone WatchOS app? Or have the watch app connect to the iOS app to send messages if available? I know how to do it the old way, but I'm moving my Watch app to be standalone and don't see how to communicate or share settings. Thanks
I'm using VNImageRequestHandler to recognize text using the camera. In my handler I'm using the topLeft, topRight, bottomLeft, bottomRight properties, which I'm scaling to the size of the canvas, to draw an outline around each text object. When I do this the Y position and Height are correct, but the Width is slightly smaller, and the X position centers the outline around the text. Any idea why this would be a different size?
I developed an independent Apple Watch that can access network resources on its own using NSURLSession without going through the iPhone. This works fine if the iPhone is on, but if I turn the iPhone off it is not able to connect. Why does my app lose network connectivity when the iPhone is off even though it's a standalone app and the Watch is connected to my WIFI? Is there anything special I need to do to get this working? It appears that no apps work with the internet when the iPhone is off. WIFI is enabled and connected to my WIFI network under the Settings on the watch
I'm developing an independent WatchOS app that uses NSURLSessionWebSocketTask to access Web Sockets. This works fine as long as the Apple Watch is connected to an iPhone, but when it's not, the web socket won't connect and gives an error that there is no network available. Using NSURLSession to access a web resource works fine though whether the watch is connected to an iPhone or not. Is this a bug or is there a way to get this working? Thanks
Does anyone know if there is a way to escalate a developer support issue? I have been unable to submit app updates for months now due to a bug in App Store Connect that Apple support has acknowledged but has no fix for. Our app is dead in the water now and they are not helping or giving any indication of if/when it will be fixed.
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
App Store Connect
App Submission
I'm trying to get information about the current Mission Control Spaces, specifically the current space number. I can access this info by using "defaults read com.apple.spaces". The problem is that this info only seems to update when a new space is created or deleted. So if you read this and then change the current space or open a new window, that file will still be set to the previous space until a new space is created or deleted, which would then update the file. I can't see any other way to get this information.
Is there any non-intrusive way to force the OS to update this plist file on demand (without relaunching the dock or Finder)? Or is there any other way to get the current space number any other way?
Thanks
How do I manage simulators in Xcode 14? I don't need a simulator for every minor version of iOS, they're just wasting space on my disk. I used to be able to delete these from Xcode, but it seems they removed this ability. Or did they move it somewhere that I am not seeing? I found all the files on my hard drive, but I don't want to start deleting individual files because it seems like there are multiple files for each simulator in different places.
After all these years I'm STILL getting this message. WHY hasn't Apple fixed this yet?! I'm on version Version 14.3.1. Is there any way to get this working? Developing for Apple Watch has been a total nightmare from day 1, I don't understand how it hasn't gotten any better. This error keeps me from testing my app on my Watch. My Watch is obviously unlocked. I tired every troubleshooting step I've read in the dozens of other posts about this issue.
In VisionOS is it possible to detect when a user is touching a physical surface in the real world and also to project 2D graphics on that surface? So imagine a windowless 2D app that is projected onto a surface, essentially turning a physical wall, table, etc. into a giant touchscreen?
So kinda like this:
https://appleinsider.com/articles/23/06/23/vision-pro-will-turn-any-surface-into-a-display-with-touch-control
But I want every surface in the room to be touchable and be able to display 2D graphics on the face of that surface and not floating in space. So essentially turning every physical surface in the room into a UIView.
Thanks!
I want to set a keyboard shortcut that can be entered from outside my app that I can receive a notification for from within my app. I found multiple ways to do this. Are there any that will work within the sandbox and allow me to submit my app to the app store without any special privileges?
I have noticed that my Apple Watch app seems to randomly quit from time to time. It's not crashing and I have not been able to reproduce it in a controlled setting, but have noticed that it seems to only happen when I'm in very high or low temperatures. For instance, I was skiing recently and my app was supposed to stay running the whole time, but often when I would raise my wrist it would be back on the home screen and my app wasn't running. This also happened when I was on the beach on a very hot day. But when I'm testing it at home I can keep it running for hours and it never crashes, which leads me to believe it may have to do with the temperature. Does the OS kill apps when it's running in very high or low temperatures? If so, is there anything I can do to prevent this from occurring?
Would doing less things in my app possibly prevent this? For instance, I have a timer, and use a bunch of sensors, would turning those off at times and using less of the display make a difference or does the OS not care what the apps are actually doing? If not, any other ideas?
Thanks
Topic:
App & System Services
SubTopic:
General
Tags:
WatchKit
Health and Fitness
watchOS
Apple Watch
When I initiate WKExtendedRuntimeSession with a background mode of "Underwater Depth" I get an orange indicator showing the Action button on the screen that stays showing all the time and then animates when you press the action button. I believe this started with a recent WatchOS update, because it never happened before.
Does anyone know how to hide it? Or keep it and be able to detect the Action button presses within my app (if possible)?
I have AVPlayer loading an MP3 from a URL. While it is playing, how can I tell how much of the MP3 has been actually downloaded so far? I have tried using item.loadedTimeRanges, but it does not seem to be accurate. I get a few notifications but it usualy stops sending notifications around 80 seconds and doesn't keep up to even the current position of the player.
Any idea?
Also, is there any way to get the total duration of the audio? All the methods I've tried return NAN.
My project has an iOS and WatchOS app. I added a package dependency, which supports both iOS and WatchOS, though I have only added the library to my iOS app.
I can compile and run both apps just fine but when I try to use one of the WatchOS app views in Canvas preview I get errors saying different properties defined in the packages files are not available on watchOS.
These blocks of code that give errors are wrapped in: "if TARGET_OS_IPHONE". I have selected the Watch Target and a watch device in the run selector as well as in the canvas.
Why is this failing and how can I get it working? Thanks