Post

Replies

Boosts

Views

Activity

Reply to iOS14 statusBarHeight is not 44.0 on some devices
@joamafer, your point is valid but I think there is a bug here: When I programmatically position a UIBarPositionTopAttached UIToolbar at the top of an iPhone 12 mini with the origin.y position set to the top of the safe area, the automatic extension of the bar's background color under the status bar is 6 pixels shy of reaching the top of the screen on the simulator.
Dec ’20
Reply to UIView exclusiveTouch doesn't work in Debug build configuration?
Ok I figured it out. Problem fixed. This has nothing to do with debug or release build configuration. UIView in question has children views that have userInteraction enabled only in debug mode. In both debug and release, the touch events are handled by the parent. I guess exclusiveTouch needs to be set on the view in the hierarchy that first intercepts the touch events even if it passes them up. In our case that's the parent in release mode but the child in debug.
Oct ’23