Am I wrong or is it not possible to share Core Data+CloudKit with a keyboard extension?
It works if I set an app group but then I lose the CloudKit sync feature, which is not acceptable for me.
Is there some other way to share the data while keeping sync?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
So I've started using TestFlight for Mac but unlike its iOS counterpart, it seems like every single build uploaded and pushed to testers has to be reviewed by Apple.
This is not how that works on the iOS side.
Ex:
MyApp 4.1 build 1 -> Review required for both iOS and Mac
MyApp 4.1 build 2 -> Review required for Mac, not iOS
Is this a bug or by design? If so, this is crazy!
Like title says. Why make users jump through hoops on macOS to redeem a code while it's trivial on iOS?
At least make the button open the Mac App Store app to the redeem sheet!
FB13202274
It seems like some UI elements just don't use the preferred color scheme of their parent element:
import SwiftUI
struct ContentView: View {
var body: some View {
VStack {
Button("Hold Me") { }
.contextMenu(ContextMenu(menuItems: {
Button("I should be dark") { }
}))
}
.padding()
.preferredColorScheme(.dark)
}
}
If you set the device appearance to dark, then the context menu shows the correct color scheme.
Setting .preferredColorScheme(.dark) to Button directly doesn't help.
Aside from context menus, this applies to all sorts of elements: popovers, alerts, tips, ...
Is there a workaround for this?
Apple folks: FB13391355
That's a new one for me. I have submitted 2 IAP along with an update for my app. The Mac binary was approved but then one of the IAP was rejected with this message:
"We have returned your IAP product/s to you as the required binary was not submitted. When you are ready to submit the binary, please resubmit the IAPs with the binary."
I'm not sure what this means as the related binary is actually waiting for review.
What does this error means and how can I fix it?
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
App Store
App Store Connect
I'm uncertain about the reason behind Transaction.currentEntitlements not returning nil when there are no current entitlements.
The challenge I'm facing is that, in the scenario where a trial period concludes, Transaction.currentEntitlements seems to perpetually withhold any response, leaving me without a means to discern the conclusion of the trial.
I'm puzzled as to why this method doesn't simply return nil when no entitlements are detected. It would be immensely helpful if someone could shed light on the rationale behind this behavior or point out any potential errors in my understanding.
Your insights would be greatly appreciated. Thanks.
I'm trying to apply a glass effect on a circle stroke but all it does is apply it to the circle itself and not the stroke:
import SwiftUI
let kCarouselCircleSize: CGFloat = 150
let kCarouselOpacity: Double = 0.3
let kCarouselStrokeWidth: CGFloat = 60
struct ContentView: View {
@State var showing = false
var body: some View {
VStack(spacing: 60) {
Text("ultraThinMaterial:")
.font(.title)
CarouseCircle(drawProgress: 0.7, isActive: false)
Text("glassEffect()")
.font(.title)
CarouseCircle(useGlassEffect: true, drawProgress: 0.7, isActive: false)
}
.background(content: {
Image(.background2)
})
.padding()
}
}
struct CarouseCircle: View {
var size: CGFloat = kCarouselCircleSize
var strokeWidth: CGFloat = kCarouselStrokeWidth
var useGlassEffect: Bool = false
var drawProgress: CGFloat
var isActive: Bool
var body: some View {
if useGlassEffect {
Circle()
.trim(from: 0, to: drawProgress)
.fill(.clear)
.stroke(.blue, style: StrokeStyle(lineWidth: strokeWidth, lineCap: .round))
.frame(width: size, height: size)
.glassEffect()
.shadow(color: .black.opacity(kCarouselOpacity), radius: isActive ? 4 : 1, x: 0, y: 0)
.rotationEffect(.degrees(-90)) // Start drawing at button 1's position
} else {
Circle()
.trim(from: 0, to: drawProgress)
.fill(.clear)
.stroke(.ultraThinMaterial, style: StrokeStyle(lineWidth: strokeWidth, lineCap: .round))
.frame(width: size, height: size)
.shadow(color: .black.opacity(kCarouselOpacity), radius: isActive ? 4 : 1, x: 0, y: 0)
.rotationEffect(.degrees(-90)) // Start drawing at button 1's position
}
}
}
Here's the result:
Is this supported, a bug or something I'm doing wrong?