Post

Replies

Boosts

Views

Activity

Reply to Xcode_26_beta_4 iOS 26 func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView?
rootView.subviews is empty, while with iOS 18 : (lldb) po rootView.subviews ▿ 3 elements - 0 : <SwiftUI._UIGraphicsView: 0x11298d990; frame = (16 658; 361 80); anchorPoint = (0, 0); clipsToBounds = YES; autoresizesSubviews = NO; backgroundColor = UIExtendedSRGBColorSpace 0.0509804 0.0509804 0.0509804 1; layer = <CALayer: 0x600000517d80>> ▿ 1 : <SwiftUI.CGDrawingView: 0x11294a590; frame = (32 681; 237.667 34); anchorPoint = (0, 0); opaque = NO; autoresizesSubviews = NO; layer = <_TtC7SwiftUIP33_65A81BD07F0108B0485D2E15DE104A7514CGDrawingLayer: 0x600002742760>> - 2 : <SwiftUI._UIGraphicsView: 0x11294a740; frame = (337 686; 24 24); anchorPoint = (0, 0); autoresizesSubviews = NO; layer = <SwiftUI.ImageLayer: 0x6000004d7d20>>
Topic: UI Frameworks SubTopic: UIKit
Aug ’25