Am a newbie to iOS programming. This is what am trying to do:
-
The user enters some text in the screen and it keeps getting added to a UITableView.
-
As usual, it’s getting added from the top.
-
But I want to add it from the bottom i.e. each new message that’s added is added above the rest/existing ones, and not below.
Can someone offer some pointer on this please!
Thanks
Priya
Are you using CoreData? If so, maybe you can set a creation time and sort it descending?
If you don’t use CoreData but store the data in some sort of array, just add new objects to the beginning of the array and then reload the data.