开发者

Create new NSDate object from the date returned from UIDatePicker

How to create new NSDate object from [myUIDatePicker da开发者_开发问答te] ?


You don't need to create a new NSDate object, you can just use the one it gives you.

NSDate *chosenDate = myDatePicker.date;


If you really need to create a new NSDate object, then you may call [myUIDatePicker date].

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜