ios - killing iPhone app due to wrong version -


i show alert users must update app if version no longer supported , kill application, i've read in here many answers saying using exit(0) or [[nsthread mainthread] exit] may cause app refused in app-store non-standard interface.

i have several application have feature i'm wondering right way achieve above task

if ([requiredversion compare:actualversion options:nsnumericsearch] == nsordereddescending) {// actualversion lower requiredversion     ??? } 

if app uses crashlytics crash logging service, can use function provide purpose.

[[crashlytics sharedinstance] crash]; 

keep in mind killing own app frowned upon, etc.


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -