IOS 7 Datepicker setFrame问题

时间:2014-09-21 18:52:11

标签: objective-c ios7 uiview uikit uidatepicker

IOS 7框架的简单问题

Viewdidappear
CGRect frameView = _myDateView.frame;
CGRect framePicker = _myBirsthDayPicker.frame;

framePicker.origin.y = -83.0f;
frameView.size.height = 50.0f;

[_myDateView setFrame:frameView]; is OK
[_myBirsthDayPicker setFrame:framePicker]; is not ok

当我只做一个时,它可以工作????

0 个答案:

没有答案