ios Swift Program app to delete things from parse after x amount of time? -


im creating ios app using parse , swift. want users post delete after x amount of time server. possible ? similar how snapchat stories disapear after 24 hours.

i thinking within app make posts visible if posted withiin alotted time frame. stops people seeing old posts. understand need called cloud code delete posts. correct , how go doing that.?

you can query through, createdat date of parse object , compare current time, delete if overdue.

wherever data retrieved, if user posts, can put query wherever load user posts. once 1 person tries load data , it's old, deleted , no 1 see it.


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo