Posts

Post not yet marked as solved
3 Replies
2.0k Views
Hi y'all, I'm trying to create an Intent Extension that updates a widget, but I can't get the widget to update unless the app is in the foreground. Right now I'm using .continueInApp, but that's not such a great UX... Has anyone experienced this? I've submitted it as FB7845957
Posted
by bouk.
Last updated
.
Post not yet marked as solved
0 Replies
338 Views
Hi there, I'm trying to overlay an inverted version of a view on top of itself, and then partially masking it so that you can see underneath it. Here is the code I'm using for the masking invert view: struct BugView: View {     var body: some View {         let view = ZStack {             Color.white             Text("50%")                 .foregroundColor(.black)                 .font(.system(size: 100))                 .minimumScaleFactor(0.0001)         }         return ZStack(alignment: .center) {                 view                 view.colorInvert()                     .mask(                         GeometryReader { proxy in                             Rectangle().frame(width: proxy.size.width / 2)                         }                     )             }     } Inside my app it does as expected, showing a text that says 50% with half the view inverted. You can see a screenshot at imgur.com/E9QjBQI When I put this same view in a Widget however, it seems that the background of the inverted view doesn't get masked and bleeds over the rest of the view. You can see how it looks here: imgur.com/vI8602l I'm not sure how to accomplish the desired effect in both contexts. I also wonder if there's an easier way to do this, this seems hacky.
Posted
by bouk.
Last updated
.
Post marked as solved
5 Replies
1.2k Views
Hello,I'm trying to submit the first version of my app, but I keep getting a rejection because the reviewer is failing to purchase my non-consumable in-app purchase. Everything works fine in sandbox mode, but something is different for them which makes it fail with an SKError.Code == .unknown and localizedDescription of 'Cannot connect to iTunes Store'. I've resubmitted many many times and asked for clarification, but I'm not getting any more info. I'm not doing anything fancy, from the screenshot they sent me it seems the SKProduct request goes through fine, but the purchase fails. The in-app purchase is showing 'Waiting for Review' in app store connect, not sure that has anything to do with it.Has anyone seen something like this? What do I do?
Posted
by bouk.
Last updated
.