开发者

why UIDatePicker Not Animated?

    NSDate *today = [NSDate date];

[datePicker setDate:to开发者_如何学Goday animated:YES];

When i use This , i have no animating!! Thanks


Setting the date in viewDidLoad: sets the date before the date picker appears onscreen. Wait until viewDidAppear: before setting it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜