I developed a game and I have a text list. I want to display this text list on tableview cells line by line.
I can display one line on tableview cells. And when the app is on background, I want to display the next line on this text list with local notification. When scheduled local notification is clicked or displayed, and when the app is in the foreground, I want to see that lines. How can I do this?
Edit: I expand my question. I have a text list like this:
Line1: Body: "Hi, I am here" , FireDate: 2 seconds Line2: Body: "Where are you" , FireDate: 5 seconds I want to show only "body" content if App is on foreground. And after "firedate" i want to Show the next line on tableview. If App is on background, i want to Show and schedule these lines by local notifications with these firedates. If user opens App, i want to Show these lines in tableview cells.
I know that this question is about local notifications and tableviews. Not for one. Because i dont know where i should start and go. With local notifications or tableviews? I mean that shoul i write the code for tableview and then schedule local notifications? Or together?