Question

I want to save list of holidays in my 1st view. I have another view (i.e, 2nd View) where am selecting the date, day and typing festival name in the textfield in that view. I want to show that selected data in my 1st View when i click on back buttono navigation bar . How do we do that??

How to show the selected data in my 1st View?? and i want to store it on phone memory

Was it helpful?

Solution

Store value festival name and selected date in NSUserDefault

Now in 1st View's view will appear which will be called when back button is presswd

if NSUserDefault has festival name and selected date then show them

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top