iOS 7 UIDatePicker height inconsistency?

前端 未结 4 679
忘了有多久
忘了有多久 2020-12-13 06:38

I\'m running into something weird when using UIDatePicker elements with Storyboards in iOS 7. In the Storyboard, the date picker has a fixed height of 162. In reality, howev

4条回答
  •  旧巷少年郎
    2020-12-13 07:05

    I can confirm that using UI(Date)Picker in storyboards has a different height (162.0) than in "reality" (216.0). Therefore you have to adjust the space to container view to fit that "real" date picker height or try to solve it using auto-layout.

提交回复
热议问题