Post

Replies

Boosts

Views

Activity

Comment on Xcode 13 vary for traits in interface builder missing.
This is simple enough for attributes like font or color (and in fact no different to previous versions of XCode), but for constraints this method is really convoluted. Size classes are more complex than changing the color, for example, because sizes and location differ significantly on many apps depending on the size class (where as a color, is normally the same regardless of size class). Generally, position/size constraints are going to be very complex. I've filed a bug report too, and I suspect (and hope) they will bring this feature back.
Dec ’21
Comment on iOS 16 beta related crash - UIView UIDebugging Description UIGetCurrentFallbackTraitCollection
Btw, we were overriding trait collections and have stopped doing this now in iOS 16. Not sure if it is what fixed this problem for us or not. We did this premptively because of some deprecated methods in iOS16 that will break the way we handle orientation.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Oct ’22
Comment on iOS 16 beta related crash - UIView UIDebugging Description UIGetCurrentFallbackTraitCollection
No, but it has stopped now. We didn't do or change anything that I'm aware. Possibly a bug patched in a newer version of iOS 16? Can you update your phones (if an update is available) and confirm if this resolved the issue for you?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Oct ’22
Comment on Vary for Traits in Xcode 13 beta?
You can do this with constraints, but it is extremely confusing. I've filed a bug report, this is crazy that this was removed.
Replies
Boosts
Views
Activity
Dec ’21
Comment on Xcode 13 vary for traits in interface builder missing.
This is simple enough for attributes like font or color (and in fact no different to previous versions of XCode), but for constraints this method is really convoluted. Size classes are more complex than changing the color, for example, because sizes and location differ significantly on many apps depending on the size class (where as a color, is normally the same regardless of size class). Generally, position/size constraints are going to be very complex. I've filed a bug report too, and I suspect (and hope) they will bring this feature back.
Replies
Boosts
Views
Activity
Dec ’21
Comment on iPhone with iOS 14 beta 2 doesn't autorotate when connected to XCode debugger
YES! Thanks.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Aug ’21