I want to save list of holidays With date and day in my 1st view. How do we do that?

StackOverflow https://stackoverflow.com/questions/12192603

  •  29-06-2021
  •  | 
  •  

문제

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

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top