Post

Replies

Boosts

Views

Activity

Comment on Safe area is not updated after UIViewController.viewWillDisappear is called
Could there be an exception if the original safe area inset is zero? The issue I encountered: during a "pop" transition of UINavigationController, my app adds a child view controller to the top view controller in response to an async network download, however that newly added child's view has its content layout in mess, because its safe area inset is zero. The layout will restore to normal condition only after user cancel the pop transition and start dragging on child view's table view.
Topic: UI Frameworks SubTopic: UIKit Tags:
Sep ’22
Comment on App does not launch by data FCM
FB9771655
Replies
Boosts
Views
Activity
Nov ’21
Comment on UIAccessibility - Set focus on previous accessibility element when dismissing a modal view
You can use UIView.becomeFirstResponder() to trigger a fast VoiceOver focus update. But to achieve that you will need to refactor a lot of your code, which may not actually worth it. Also keep in mind that the VoiceOver behavior for first responder updates is different (or say, strange) on Mac Catalyst.
Topic: Machine Learning & AI SubTopic: General Tags:
Replies
Boosts
Views
Activity
May ’22
Comment on MTLDebugCommandBuffer lockPurgeableObjects
My Mac Catalyst app on macOS 12.4 crashed with the same error when using the UIKit API UIImageJPEGRepresentation. It's pretty rare, like one crash in 300 calls. FB10509962
Topic: Graphics & Games SubTopic: Metal Tags:
Replies
Boosts
Views
Activity
Jun ’22
Comment on Safe area is not updated after UIViewController.viewWillDisappear is called
Could there be an exception if the original safe area inset is zero? The issue I encountered: during a "pop" transition of UINavigationController, my app adds a child view controller to the top view controller in response to an async network download, however that newly added child's view has its content layout in mess, because its safe area inset is zero. The layout will restore to normal condition only after user cancel the pop transition and start dragging on child view's table view.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Sep ’22
Comment on AirPods interference by Simulator playing sounds
The problem is that my Mac mini does not have a build-in microphone and I don't have an alternative audio input device. Is there a way to disable audio input entirely for iOS simulator? My app running on the simulator doesn't need to utilize the microphone capability.
Replies
Boosts
Views
Activity
Sep ’22