I want to store a time of day value using NSUserDefaults and allow the user to update that through the Settings app. Is there a way to store a NSDate object and tell Settings app to use a time picker only?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can save date to
NSUserDefaults. But you cannot add a date picker to settings bundle. There are no options available using this in settings.bundle plist. For more details please check apple documentationOnly options are,
In order to save date to userdefaults,