Search results for

apple pencil battery life

146,129 results found

Post

Replies

Boosts

Views

Activity

Reply to HKObserverQuery stops delivering updates in background on watchOS 26
Hi, Ziqiao Thanks for the clarification. We’ve double-checked our implementation, and completionHandler() is indeed called in every branch, including when an error occurs. Here’s the exact code we’re using: if let error = error { logEvent(❌ Observer 错误:(error.localizedDescription)) completionHandler() return } logEvent(【💓】有变化了,准备Check) self.dataCheck(source: heartRate) { logEvent(Check 结束,回调) completionHandler() } } self.healthStore.execute(query) // 启用后台 delivery self.healthStore.enableBackgroundDelivery(for: heartType, frequency: .immediate) { success, error in logEvent(success ? ✅ 已启用后台监听_(heartType) : ❌ 启用_(heartType)失败:(error?.localizedDescription ?? 未知)) } Even though completionHandler() is always invoked, background delivery still stops after some time (usually within 2–3 days). Restarting the watch temporarily restores updates, but they eventually stop again. We’ve tested this on: Xcode 16.0 (26.0.1 / 17A400) Devices & watch OS Apple Watch Series 8 / watchOS 26.1(23S5002i) Apple
23h
Reply to Managing the order of Transparent Proxies from MDM Profile
Finally we could resolve the VPN connectivity issue when we insert the order key to VPN/TransparentProxy payload in MDM. Noticed that for some of the distribution profile, if we provide other than network extension identifier in ProviderDesignatedRequirement field, then it fails to establish the VPN connection without logging any error. ProviderDesignatedRequirement identifier com.digitalguardian.webproxy and anchor apple generic
1d
Background Assets - Apple Hosted - iOS26
I've followed the setup process to get Apple Hosted Background Assets configured for my project. (https://developer.apple.com/documentation/backgroundassets/downloading-apple-hosted-asset-packs) But when I build and run the app I get the following error... BackgroundAssets/AssetPackManager.swift:174: Fatal error: The process lacks a team ID. I've checked the Signing->Team for both targets and they both have my Team associated. Any help or advice would be appreciated...
2
0
138
1d
App Approved/Released, but In-App Purchase Still In Review
Greetings! QUESTION: Is there any way to request expedited review of an in-app purchase? BACKGROUND: App Review approved our app yesterday, and I released it from the Connect app on iOS while on the go. Only when at home later logged into App Store Connect from the browser, did I realize that our In-App Purchases were still In Review. ISSUE: Users get the no products found error on our paywall, based on the fact the IAPs are not yet approved! Apple ID: 6742640564 URL: https://apps.apple.com/us/app/nophone-digital-detox/id6742640564
1
0
219
1d
Reply to Help me
For help with iOS installation, please post in the Apple Support Community. The Apple Developer Forums are for questions about APIs and features intended specifically for developers.
1d
After uninstalling the app, ManagedSettingsStore.shield is still active — seems to be an Apple system behavior
I’m using the shielding API, my code: let store = ManagedSettingsStore() let whitelist = SharedDefaults.whitelistApplications store.shield.applicationCategories = .all(except: whitelist) And to clear the shield, my code is: store.shield.applications = nil store.shield.applicationCategories = nil The issue: Some users report that after uninstalling my app, the shield is still active, and the UI changes to the default iOS system interface. Even after restarting the device, the apps on the phone remains locked, so the user has no way to remove the shield. Recently I’ve received several complaints on social media and App Store comments, accusing my app of being malicious software. This is not a 100% reproducible bug, but it happens frequently enough. I was also able to reproduce it myself by uninstalling the app during an active lock session. Could Apple engineers please look into this issue and advise how to ensure that once the user uninstalls the app, the device is no longer locked?
1
0
129
1d
Reply to App in sviluppo
Thank you for your post. We recommend that you sign up for a session with App Review during the weekly Meet with Apple event. Sign in with your Developer ID and select Request a one-on-one App Review consultation. A member of the App Review team will help you with your questions regarding the review process and the App Review Guidelines.
1d
Reply to Question about testing the Declared Age Range feature
Is there a supported way to clear per-app consent so the system prompts again? There is no supported way to achieve the desired functionality given the currently shipping system configurations. If you would like for Apple to consider adding support for such features, please submit your suggestion request via Feedback Assistant. For more information on Feedback Assistant, please visit https://developer.apple.com/bug-reporting. Under what conditions should the “Share Age Range Again” control appear in Settings, and is there an equivalent way to trigger it for testing? It appears prior to the anniversary of the original request, and when a user previously declined or a user has aged out of a current age range. Are there best practices for QA (e.g., using Ask First at the system level, testing on real devices vs. Simulator, using a separate bundle ID for dev builds, or other steps)? Testing in the Simulator is unsupported. If you use a separate bundle ID, the system treats it as a different app. Any othe
Topic: App & System Services SubTopic: General Tags:
1d
iPAD: achieve UserClient's privileges in background to have robust IOServiceAddMatchingNotification(...) as if ~[Background modes][Enable external communications].
1) The circumstances: iPADOS~>18, USB still-imaging-gadget, 1-3 gadgets might connect simultaneously via USB-hub, proprietary DExt, UserClient App in developers' iPADs or in TestFlight. = 1 variation A) UserClientApp has attribute [Background modes][Enable external communications]. = 1 variation B) active USB-hub vs passive. = 1 variation C) ConsoleApp logs iPAD vs ConsoleApp is not started. = 1 the term zombie below assume issue: == after plug-in ConsoleApp logs IOUsbUserInterface::init, ::start; == UserClient never receives respective callback from IOServiceAddMatchingNotification == further IOKit APIs teardown, restart and re-enumeration of connected gadgets doesn't reveal the zombie (while it sees another simultaneous gadget); == unplug of the gadget logs IOUsbUserInterface::stop. =2) The situation when UserClient is in foreground: ~ everything is fine. Note in MAC OS everything (same DExt and UserClient-code) works fine in background and in foreground. =3) The situation when UserClient is in backgroun
5
0
247
1d
[CarPlay] CPNowPlayingTemplate not being accepted when being passed to pushTemplate:animated:completion
Hey team, I have an app in CarPlay where i was pushing the CPNowPlayingTemplate as follows: self.interfaceController.pushTemplate(CPNowPlayingTemplate.shared(), animated: true) This used to work perfectly, but suddenly I have started to get this error NSInvalidArgumentException: Unsupported object passed to pushTemplate:animated:completion:. Allowed classes: {( CPActionSheetTemplate, CPAlertTemplate, CPVoiceControlTemplate, CPTabBarTemplate, CPListTemplate, CPInformationTemplate, CPContactTemplate, CPMapTemplate, CPGridTemplate, CPSearchTemplate )} How is this possible? Even on Apple docs, it says to pushTemplate Refer https://developer.apple.com/download/files/CarPlay-Developer-Guide.pdf https://developer.apple.com/documentation/carplay/cpnowplayingtemplate/
1
0
169
1d
TestFlight is Unavailable
I use Apple Business Manager to install apps on my office iPads and to track them. I am a beta tester for a company that pushes new versions of their software through TestFlight. These iPads are logged into managed apple accounts [apple IDs] under my Apple Business Manager account. When I attempt to open TestFlight, I receive a message TestFlight is currently unavailable, try again later. If I logout and sign in an iPad under a consumer Apple Account, TestFlight works properly. I however, want to use these iPads under my apple business account.
8
0
885
1d