Post

Replies

Boosts

Views

Activity

Reply to preferredTransition not working when using setViewControllers(_:animated:)
@DTS Engineer I'm not building split view, nor am I using UISplitViewController — my view hierarchy is quite simple. I have a standard UICollectionView, and tapping a cell is supposed to show a detail view. This is conceptually similar to the Apple sample code, where a detail view controller is pushed using navigationController.pushViewController. However, due to the existing product behavior, I need to present the detail screen using: navigationController.setViewControllers([listViewController, detailViewController]) The issue is: I would still like to implement the fluid zoom transition effect as demonstrated in the Apple documentation, but it seems the transition isn't applied when using setViewControllers API
Topic: UI Frameworks SubTopic: UIKit Tags:
Jul ’25
Reply to preferredTransition not working when using setViewControllers(_:animated:)
Thanks for your response. When using navigationController?.pushViewController(dvc, animated: true), everything works fine. My Issue: When I call nav.setViewControllers([listVC, detailVC], animated: false) in the SceneDelegate of my sample project, the swipe-to-dismiss gesture no longer works. Question: Is there a way to enable the swipe-to-dismiss gesture when using setViewControllers([listVC, detailVC], animated: true) API?
Topic: UI Frameworks SubTopic: UIKit Tags:
Sep ’25
Reply to How to properly use PermissionKit to ask permission
the communication permission work for me with xcode and ios 26.2 public release it needs sync contacts and enable communication limit on the child device. the error messages I got from console were very helpful. (501) Invalidation handler invoked, clearing connection (501) personaAttributesForPersonaType for type:0 failed with error Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.mobile.usermanagerd.xpc was invalidated from this process." UserInfo={NSDebugDescription=The connection to service named com.apple.mobile.usermanagerd.xpc was invalidated from this process.} SendFlow (Host): Error sending begin message: hostViewControllerDidActivate(_:) Error Domain=AskToCore.ATMessageComposeValidationError Code=2 "Contact syncing is not set up" UserInfo={NSLocalizedDescription=Contact syncing is not set up, NSLocalizedFailureReason=Contact syncing needs to be configured before you can send messages., NSLocalizedRecoverySuggestion=Please enable contact syncing in Settings.} SendFlow (Host): Error sending begin message: hostViewControllerDidActivate(_:) Error Domain=AskToCore.ATMessageComposeValidationError Code=3 "Communication limits are not enabled" UserInfo={NSLocalizedDescription=Communication limits are not enabled, NSLocalizedFailureReason=Communication limits need to be enabled before you can send messages., NSLocalizedRecoverySuggestion=Please enable communication limits in Screen Time settings.} However, I still don't know how to fake my location to texas to test significant app update
2d