Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
[myUIDatePicker date]から新しいNSDateオブジェクトを作成するにはどうすればよいですか?
新しいNSDateオブジェクトを作成する必要はなく、提供されたオブジェクトを使用するだけです。
NSDate *chosenDate = myDatePicker.date;
本当に新しいNSDateオブジェクトを作成する必要がある場合は、を呼び出すことができます[myUIDatePicker date]。
[myUIDatePicker date]