iOS calendar covers control

  

While developing an app I managed to get around the virtual keyboard covering up the control being edited just nicely by using the appropriate events. However specifically on an iPhone opening up a calendar will cause the same problem as the virtual keyboard, with the difference that no proper event is fired. At that time there is no possibility to get the bounds of the date picker, so the date edit will potentially get covered up by the date picker and there seems to be nothing I can do about it. Again this is an iPhone issue, as the tablets open up a small panel near the date edit, and everyone is happy.

To clarify here is a comparison of the same app on an iPhone 6 and on an iPad.

How do I find the bounds of the calendar, in order to move other controls away from it?

Comments are closed.