[英]xcode parse! uitableview cell in order! in last created “DATE”
I have a parse uitableview. 我有一个解析的uitableview。 All my cells are inserted randomly into the table view.
我所有的单元格都随机插入到表格视图中。 I wanted them to come in as it is the latest created there at the top.
我希望他们能加入进来,因为这是顶部创建的最新内容。 so every time I make a new cell in parse then it should come up top.
因此,每当我在解析中创建一个新的单元格时,它都应该位于顶部。
Are you using parse SDK? 您是否正在使用解析SDK? If yes, then you can use
如果是,那么您可以使用
[query orderByDescending:@"createdAt"];
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.