Dan, Try shutdown instead of shutdownRequest. The shutdownRequest message is used in a desktop standalone when you want to possibly prevent the application from shutting down. Under iOS, that's impossible when hitting the home button. The shutdown message is working great for me.
Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com On Jan 27, 2012, at 10:34 AM, Dan Friedman wrote: > Greetings! > > Is there a way to trap when the user hits the Home button on his iPad? I > want to do a little cleanup (including writing some data to a server) when my > app is closed. I tried shutdownRequest, but this doesn't seem to work. Any > thoughts? > > Thanks in advance, > -Dan > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
