I have an app,where I need to save a reminder in one page and in other display the saved reminder.I have done it successfully using sqlite3
In the view reminder page,the user would have 3 options to view,view all which I have already implemented,view monthly that contains picker view with 12 months,view group
I have found out the query for retrieving all the reminders in a particular month,say for month december,I have retrieved using the following query:
NSString *sqlQuery = [NSString stringWithFormat:@"select * from reminders WHERE Date BETWEEN '2012-12-01' AND '2012-12-31'"];
Before entering in to view monthly page(controller),there is a month picker view as I have mentioned earlier,I know that we can have separate view controller pages for displaying the data of 12 months,but the code becomes hectic.Hence I want the table view to get updated automatically based on month selected in picker view(row component).
How can I do this,can any one please help me out with your valuable suggestions!
Thanks all in advance :)
I found out the answer for the question in the following link:
Thank you all :)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.