How Update does work for iPhone App? -


i know how updates work apple store.

does apple delete old data related old version of application , update newer one?

when user updates new version of application, older version deleted iphone data ( pictures, database, sound,etc) , replaced newer version or not?

i updated application few days ago, , think apple not replace old sqlite database newer one.

during update old application bundle replaced new one. other folders , contents in application sandbox (documents, library, tmp) remain untouched.

so if want replace old database (if must save data changed users in old database) need check database version in app , copy new 1 application bundle if version old (you can use sqlite user_version pragma version tracking)


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -