Post

Replies

Boosts

Views

Activity

Comment on How do I get the "real" frame of a prominent displayed scene in iPadOS 15?
Thank you for the quick response! I think this is one of the first instances where I actually needed to use coordinate spaces instead of converting frames between views. For anyone else that finds this, after a bit of experimentation this worked best for me: CGRect keyboardRectInSelf = [self.view convertRect: keyboardRectInWindow fromCoordinateSpace: UIScreen.mainScreen.coordinateSpace];
Topic: UI Frameworks SubTopic: UIKit Tags:
Aug ’21
Comment on How do I get the "real" frame of a prominent displayed scene in iPadOS 15?
Thank you for the quick response! I think this is one of the first instances where I actually needed to use coordinate spaces instead of converting frames between views. For anyone else that finds this, after a bit of experimentation this worked best for me: CGRect keyboardRectInSelf = [self.view convertRect: keyboardRectInWindow fromCoordinateSpace: UIScreen.mainScreen.coordinateSpace];
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Aug ’21