Is it possible to do at my iPhone app in LC that when i close the app on the iOS device (but doesn't quit it) and when i come back,
the card and the content that was when i closed the app will appear?
Best regards,
Itay

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Code: Select all
on preOpenStack
local tFile, tLastOpenCard
put (specialFolderPath("cache") & "/lastOpenCard.txt") into tFile
if there is a file tFile then
put url("file:" & tFile) into tLastOpenCard
if exists(card tLastOpenCard) then
go card tLastOpenCard
end if
end if
end preOpenStack
on closeStack
put the short name of this card into url("file:" & specialFolderPath("cache") & "/lastOpenCard.txt")
end closeStack
Best,For further options, please do a forum search...