Post

Replies

Boosts

Views

Activity

Reply to SafeAreas for both orientation before adding a view to the hierarchy
FYI, I tried with appearance, but safeAreaInsets are .zero and safeAreaLayoutGuide is still nil, that's a shame :-/      let appearance = UICollectionView.appearance(for: self.traitCollection,                            whenContainedInInstancesOf: [UIViewController.self, UINavigationController.self])     print(" \(appearance.safeAreaInsets) - \(appearance.safeAreaLayoutGuide)")
Topic: UI Frameworks SubTopic: UIKit Tags:
Oct ’22
Reply to PhaseAnimator on presented View crashes the app
Thanks for your answers, glad I'm not the only one :D I hope Eskimo will have a look at it and file a radar, I do not find out to file these now :-/
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to PhaseAnimator on presented View crashes the app
Interesting fact : if I use a trigger, it does not crash. Is a use a timer that flips a boolean trigger to mimic a loop, it does not crash either (just edited the POST)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to SafeAreas for both orientation before adding a view to the hierarchy
Thanks to all of you for these answers and support, I appreciate ;-)
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Oct ’22
Reply to SafeAreas for both orientation before adding a view to the hierarchy
FYI, I tried with appearance, but safeAreaInsets are .zero and safeAreaLayoutGuide is still nil, that's a shame :-/      let appearance = UICollectionView.appearance(for: self.traitCollection,                            whenContainedInInstancesOf: [UIViewController.self, UINavigationController.self])     print(" \(appearance.safeAreaInsets) - \(appearance.safeAreaLayoutGuide)")
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Oct ’22
Reply to SafeAreas for both orientation before adding a view to the hierarchy
Thanks for your answer Claude31. For various reasons being : I need to send to the server the display area before even beginning to load a view That will not give me the insets for all orientation Besides, I can use the UIApplication.shared.windows.first?.safeAreaInsets to get the same result I guess ;-)
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Oct ’22
Reply to Xcode 12.5.1 (12E507) Unable to add GPS Exchange to project
Same here, I thought I was going nuts :D
Replies
Boosts
Views
Activity
Aug ’21