preferredScreenEdgesDeferringSystemGestures in keyboard extension doesnt work
问题 I trying to make keyboard extension on SwiftUI . My keyboard uses gestures a lot. But gestures up from keys located near the screen bottom are to be recognized as a system gesture. As it was said here I tried to use preferredScreenEdgesDeferringSystemGestures parameter of UIInputViewController but it does not help. here is my code: class MyController<Content: View>: UIHostingController<Content>{ open override var preferredScreenEdgesDeferringSystemGestures: UIRectEdge{ return [.bottom] } }