iOS Question KeyboardHeight in iPhone x

Pooya1

Active Member
Licensed User
Hi
The KeyboardHeightevent is working in all devices
But in iPhone X ,it get invalid height after show keyboard sometimes
Example it return 700 for NewHeight in KeyboardHeight event and sometime return invalid height
This problem is most in iPhone X
Thanks
 

Pooya1

Active Member
Licensed User
Solved
I use SafeAreaInsets for get new height and width for all device of apple (event below iPhone x)
If i use SafeAreaInsets in example iPhone 6s,it return iPhone 6s rectangle
 
Upvote 0
Top