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.