cocoa touch - Add images via Push Notification Service? -


I have a content app and should now notify users of new content using the Apple Push Notification service, now After a long app store submission notice to the user, a download update button will be enabled. The user will download the SQL file and images from his website. I will execute the contained SQL file and the images will be downloaded to disk.

I currently load content (wire and bundle image references) in UIWebView. Images are displayed as part of content How do I execute a SQL file to insert new content? Then, do I have to start referring to images on disk instead of bundle, where I add images when using app store update submissions?

For SQL file, maybe I downloaded some event based once the download is complete. But the new content to be read again needs to be reloaded to read-only databases. Does the user have to start the app again?

As you said that the database has been read only for your app, I have just uploaded a new database file Will have a download trigger and instead of executing the SQL statement to modify existing DB, it will write it to disk. (Unless your database is very large and you are only making a small change, when the download size is under consideration).

In any case, if you are loading the database from the bundle, then read it so that you can not put the insert statement on it - you will need to make a written copy. Copying the update process completely replaces this means that you do not have to worry about SQL execution on each device. What happens if the app ends mid-insertion?

For similar images, your life may be easier if they were copied to the first written libraries in the directory, instead of being loaded with the bundle, you always have a place for them and Do not care whether an update has been done or not, just make sure you clean up anything which is no longer necessary after an update so that you do not need to eat more than the user's storage I


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -