When testing an auto-renewable subscription with StoreKit 2 in Xcode 13 beta 3, the purchase transaction revocationDate is 2001-01-01, which prevents the app to verify the subscription. It should be nil, since there is no simulation of refunding or revocation in the test. Is it a bug in StoreKit 2?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
It seems an overlay is limited to the size of the base view. How to remove the limit?
baseView.overlay {overlayView}
Is there a programming example for CameraView?
Checking subscription status with the new subscriptionStatusTask on iOS 17 beta 3 works well for me, but the status is empty on watchOS 10 beta 3. Seems the same problem reported elsewhere. Does anyone see this problem too?
With the following in an iOS and watch app
import Observation
@Observable final class DataModel {
var common = 0
#if os(iOS)
var iProp = 0
#endif
}
Xcode 15 beta 5 reports error: Cannot find type '_iProp' in scope
Is platform specific property forbidden in Observable objects?
I get the following dyld error on an iPad Pro with Xcode 26 beta 4:
Symbol not found: _$s16FoundationModels20LanguageModelSessionC7prewarm12promptPrefixyAA6PromptVSg_tF
Any advice?
Topic:
Machine Learning & AI
SubTopic:
Foundation Models
How to block a sender in iMessage in iOS 15?
I'm trying to measure light quality with the camera, not to capture good looking photos. How do I get raw camera sensor data, without processing such as white balance? If I lock white balance mode when setting up capture session as following, will white balance be turned off during the session?
if device.isWhiteBalanceModeSupported(.locked) {
device.whiteBalanceMode = .locked
}
How to get current time in a widget (like the builtin clock widget), to update the widget based on the current time, since a widget is supposed to provide timely info?
Has anyone used healthDataAccessRequest successfully in SwiftUI? How does parameter trigger work?
Xcode 15 beta 5 removed the batch insert method for ModelContext, as verified in code, and indicated in the online doc, although Xcode documentation still shows it. How can we perform batch insertions?
For a watch app with a companion iOS app, if the user purchases a subscription in the iOS app, does the subscriptionStatusTask view modifier in the watch app get the subscription info? Is the user considered subscribed in the watch app?
Calling reloadTimelines() on WidgetCenter.shared does not reload the timeline on my Apple Watch with watchOS 10.2 beta 2. Used to work in watchOS 10.1 and before. It does not work in iOS 17.2 beta 2 either. Do others see the same problem?
How to save some data in SwiftData to CloudKit, and others on local device only?