Loading a UIDatePicker in Landscape on a UINavigationController

前端 未结 6 665
慢半拍i
慢半拍i 2021-02-14 20:44

I have a custom UINavigationController that supports auto-rotate. I also have a UIDatePicker on one of my views that I throw onto the stack of the Navigation controller. The a

6条回答
  •  走了就别回头了
    2021-02-14 21:12

    Well I fixed it. I managed to make a check to see what the orientation was, and then remove the date picker and in code, I recreated a date picker and added it. That worked, it wasn't beautiful, but it worked.

提交回复
热议问题