I'm adding one UIBarButtonItem with a custom view. The custom view uses autolayout to layout its inner components. Is this supported in iOS 13? This issue does not happen when the same code is run against an iOS 12 device. Adding just one UIBarButtonItem which has a custom view causes this to happen. None of the UIViews listed in the conflict below are mine (e.g: _UIToolbarContentView) and they're clearly private UIView classes.I'm not even sure how to debug this issue. I've set the UIToolbar's translatesAutoresizingMaskIntoConstraints to NO, but this issue still happens.Setting a breakpoint on UIViewAlertForUnsatisfiableConstraints doesn't help because the stack trace doesn't give any valuable clues as it's all iOS private classesAny suggestions?Thanks,Neal[LayoutConstraints] Unable to simultaneously satisfy constraints. Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints) ( "<NSAutoresizingMaskLayoutConstraint:0x2815ebe30 h=--& v=--& _UIToolbarContentView:0x100d6f8e0.width == 0 (active)>", "<NSLayoutConstraint:0x2815ea120 H:|-(0)-[_UIButtonBarStackView:0x100d31080] (active, names: '|':_UIToolbarContentView:0x100d6f8e0 )>", "<NSLayoutConstraint:0x2815ea170 _UIButtonBarStackView:0x100d31080.trailing == _UIToolbarContentView:0x100d6f8e0.trailing - 16 (active)>")Will attempt to recover by breaking constraint <NSLayoutConstraint:0x2815ea170 _UIButtonBarStackView:0x100d31080.trailing == _UIToolbarContentView:0x100d6f8e0.trailing - 16 (active)>Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
Post
Replies
Boosts
Views
Activity
Before loading an html resource into a WkWebView, it is always white regardless of whether in dark or light mode. I've tried setiing its background color after instantation, but it has no effect. When in dark mode, this produces a flashing effect as the white background is briefly displayed. Is there an API that I'm missing for this?Thanks in advance,Neal
Greetings,my app adds various items to its keychain and when doing an iTunes backup and restore, it successfully restores the keychain items provided the iTunes backup is encrypted. Works great!However I can't seem to be able to restore my app's keychain when doing an iCloud backup and then restoring to a different iPhone. Is there a way of specifying that the iCloud backup is encrypted in such a way that apps' keychains are backed up and restored properly when using iCloud backup/restore function?Is there a iCloud specific attribute that must be provided for keychain items to make this work?Thanks,Neal