简体   繁体   中英

xcode parse! uitableview cell in order! in last created “DATE”

I have a parse 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? If yes, then you can use

[query orderByDescending:@"createdAt"];

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM