Post

Replies

Boosts

Views

Activity

Reply to in-App purchases for authenticated users only
Thank you for your quick response ! In general any additional steps or friction implementation before a purchase that doesn't add value or functionality may impact the customer buy experience. I think we can manage to avoid user login when buying packs but we will have more trouble for the meal planification feature as it needs to be linked to the user profile. I understand it adds friction and will potentially deter users from buying but is it a reason for rejection on Apple's side ? Thanks Again
Topic: App & System Services SubTopic: StoreKit Tags:
Sep ’22
Reply to how to detect the locked/unlocked screen status with swift
If you try to send a command and the device is locked, data protection will prevent you from accessing the keychain items and you’ll get a reasonable error. What do you need the notification for? I think the reason the code was done this way is because IoT framework we're using may not be giving a descriptive error but I agree it would be the cleanest solution. Anyway I fear this little extension might be short-lived given the warnings telling us to move towards WidgetKit which sadly can't be used for this kind of widget for now ;) Thanks for the quick & helpful answers ! Happy holidays Bioche
Topic: Privacy & Security SubTopic: General Tags:
Dec ’21
Reply to how to detect the locked/unlocked screen status with swift
Thank you for your answer ! Can you explain more about why your widget extension needs this? It's not a WidgetKit extension but an old Today widget that's presenting a remote control of an IoT vacuum cleaner (start / stop etc...). These commands can only be sent if the phone is unlocked because we need to access protected tokens in keychain. That's where isProtectedDataAvailable comes in. By "modern widget", I assume you're talking about WidgetKit. Unfortunately, we can't switch to this for now because of its limitations, mainly the fact that you can't interact with it without opening the app :/ Thanks again Bioche
Topic: Privacy & Security SubTopic: General Tags:
Dec ’21
Reply to how to detect the locked/unlocked screen status with swift
Hello ! I know this question is getting old, but we're bumping into this issue as well. After migrating to XCode 13, it became mandatory to set APPLICATION_EXTENSION_API_ONLY to true in build settings of our widget extension. However, as stated above, this renders the isProtectedDataAvailable property unavailable through UIApplication.shared So I have 2 questions : Is there any new way of accessing it cleanly with iOS 14 or 15 ? In the meantime, is it acceptable to use this ugly hack or can this be seen as accessing private API & subject to app rejection 🥶 ? func isProtectedDataAvailable() -> Bool {   let application = UIApplication.value(forKeyPath: #keyPath(UIApplication.shared)) as! UIApplication   return application.isProtectedDataAvailable } Thanks in advance Bioche
Topic: Privacy & Security SubTopic: General Tags:
Dec ’21
Reply to iOS 26 NavigationStack Title Rendering Issue
I have exactly the same issue on XCode/iOS 26.1. Did you find more info on this issue ? I'm surprised it's not reported by more people
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’25
Reply to SwiftUI Popover Crash During Resizing in Stage Manager
It happens both on iPhone (using .presentationCompactAdaptation(.popover) on child view) & iPad after a few rotations
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’25
Reply to Easy way to see application logs after UITests
Hello ! Thank you for your answer but I'm afraid those are the logs of the UITest but not the logs of the application itself. Application logs are interesting in order to understand what could have gone wrong inside the app ^^
Replies
Boosts
Views
Activity
Jan ’25
Reply to iPad OS 18 UINavigationBar display incorrectly
I have the same issue with SwiftUI. Still looking for a solution. NavigationBar is historically clunky but adding the tabBar to it seems to have made matters worse :/
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jan ’25
Reply to Build Export differences between Xcode 15.2 and 15.3
Any news on this from Apple ? You can apparently fix by bumping minimum version in the framework info.plist but it doesn't make much sense ...
Replies
Boosts
Views
Activity
Apr ’24
Reply to Newly added ScenePhase not working with UIKit Lifecycle
Two years later, sadly still doesn't work on XCode 14.2 / iOS 16.2 ...
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’23
Reply to XCode 14 compile errors immediately disappear or do not appear at all
I have kind of a similar issue on XCode 14.2 with warnings. When I clean & build from scratch, I get all the warnings as it should. But after one or 2 rebuild, all warnings in my local packages disappear. I hope it gets fixed in next version of xcode as this renders cleaning warnings especially difficult on large projects ....
Replies
Boosts
Views
Activity
Feb ’23
Reply to in-App purchases for authenticated users only
Thank you for your quick response ! In general any additional steps or friction implementation before a purchase that doesn't add value or functionality may impact the customer buy experience. I think we can manage to avoid user login when buying packs but we will have more trouble for the meal planification feature as it needs to be linked to the user profile. I understand it adds friction and will potentially deter users from buying but is it a reason for rejection on Apple's side ? Thanks Again
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to how to detect the locked/unlocked screen status with swift
If you try to send a command and the device is locked, data protection will prevent you from accessing the keychain items and you’ll get a reasonable error. What do you need the notification for? I think the reason the code was done this way is because IoT framework we're using may not be giving a descriptive error but I agree it would be the cleanest solution. Anyway I fear this little extension might be short-lived given the warnings telling us to move towards WidgetKit which sadly can't be used for this kind of widget for now ;) Thanks for the quick & helpful answers ! Happy holidays Bioche
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to how to detect the locked/unlocked screen status with swift
Thank you for your answer ! Can you explain more about why your widget extension needs this? It's not a WidgetKit extension but an old Today widget that's presenting a remote control of an IoT vacuum cleaner (start / stop etc...). These commands can only be sent if the phone is unlocked because we need to access protected tokens in keychain. That's where isProtectedDataAvailable comes in. By "modern widget", I assume you're talking about WidgetKit. Unfortunately, we can't switch to this for now because of its limitations, mainly the fact that you can't interact with it without opening the app :/ Thanks again Bioche
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to how to detect the locked/unlocked screen status with swift
Hello ! I know this question is getting old, but we're bumping into this issue as well. After migrating to XCode 13, it became mandatory to set APPLICATION_EXTENSION_API_ONLY to true in build settings of our widget extension. However, as stated above, this renders the isProtectedDataAvailable property unavailable through UIApplication.shared So I have 2 questions : Is there any new way of accessing it cleanly with iOS 14 or 15 ? In the meantime, is it acceptable to use this ugly hack or can this be seen as accessing private API & subject to app rejection 🥶 ? func isProtectedDataAvailable() -> Bool {   let application = UIApplication.value(forKeyPath: #keyPath(UIApplication.shared)) as! UIApplication   return application.isProtectedDataAvailable } Thanks in advance Bioche
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’21