I just wanted to know if it would be possible to “trick” the app into thinking its a different date with uidatepicker. What I have is a uiwebview with a calendar based on query and i want to use a date picker from Xcode to change the date. When i go to settings o my device and change the date through settings, the webview also shows a different date so I basically want to know if this can be mimicked. Thanks in advance:)
Share
Look at the answer to this question.
Which basically gives the fine hint to use:
UIDatePicker’s
-(void) setDate: animated:method.You should just be able to pass the date you want to the datepicker in your app (which is an IBOutlet) and you should be okay to run with that.