Will exitting an iOS app programmatically lead to rejection from Apple app review?

I am developing an iOS application which communicates with a web app and shows some informaton which is relevant to the user.
In case there is no connection to the web server, the application can't function properly, because it doesn't cash any data.
Therefore I am notifying the user in case there is no connection to web server with an alert view (The web server is currently unavailable, please try again later). I'd like to include an option in the alert view for the user to quit the application.
Originally, after the user clicked the "OK"  button in the alert view I exitted the application programmatically, but I read from apple documentation that it is not a good practice and it could lead to rejection from app review.
Is it alright to exit the application programmatically after user click on "Exit app" when the alert view appears or should I only notify the user to quit the application by himself? Would the first approach lead to rejection from App review? Thank you for your responses.

Why not just provide a refresh button, rather than making the user restart the app?
If this scenario is caused by the device losing network connectivity, you could also add Reachability logic so the app knows when network connectivity is restored, and automatically refreshes.
SCNetworkReachability Reference
https://developer.apple.com/library/ios/documentation/SystemConfiguration/Refere nce/SCNetworkReachabilityRef/Reference/reference.html

Similar Messages

  • TS3274 My ipad has been lagging, it will exit out of apps and on safari will bring up pages that I searched awhile ago before bring up the current page. what could be the problem?

    My ipad mini has recently been exiting out of apps on its own. It has also been bring up old searches when I log into safari things I've searched months ago.  I have the latest update. I can't figure out why it's been doing this.

    Clear Safari, close all apps, and reboot your iPad.
    Go to Settings>Safari>Clear Cookies and Data.
    In order to close all of your apps, double tap the home button and you will see apps lined up going left to right across the screen. Swipe to get to the app that you want to close and then swipe "up" on the app preview thumbnail to close it. Close all apps this way.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • IOS 8.0.2 Problems downloading from Apple Store

    We upgraded IOS 8.0.2 then purchased an iBook.  Downloading is stalled for hours.   Tried an upgrade in the App Store and same problem.  Downloading is stalled.  Is anyone experiencing similar problem with downloads from Apple Store?

    Hi there sheuston,
    You may want to try force closing all open apps and resetting the device as an initial troubleshooting step. Take a look at the articles below for more information.
    iOS: Force an app to close
    Turn your iOS device off and on (restart) and reset
    -Griff W. 

  • Will the iPhone 5 be available with Factory Unlock from Apple as the 4S was?

    Will the iphone 5 also be offered directly from apple with the factory unlocked option?

    SonofSAM7476 wrote:
    Is it available for PreOrder Now?
    No. Perhaps a month or so after release date.
    For T Mobile users, will we be able to get a micro SIM from them?
    Yes.

  • My Ipod went dead during upgrading to Ios 6 and now it switches from apple logo to white screen and won't recognize to the computer?

    Basicall I was upgrading to iOs 6 and during the middle of it my ipod went dead and now the computer wont recongize it and when I restart it it switches from apple logo and white screen?

    Have you tried doing a DFU restore? Here's how: http://appletoolbox.com/2010/07/using-dfu-restore-to-solve-iphone-problems/

  • Exiting an iOS App

    What's the proper way to do that? NativeApplication.nativeApplication.exit() doesn't seem to work on the iPad (works for Android, and Desktop AIR)

    Duplicate of: http://forums.adobe.com/message/3779052#3779052

  • When will you make iOS app ADOBE VOICE and ADOBE SLATE for iPad usefull for iPhone too ?

    I want to use Voice and Slate on my iPhone : will it be possible soon ?

    I've also noticed that crashes increase with hand-animations, especially with embedded sounds. I think the reason behind this is that Macromedia in its latter year or so started a trend that Adobe has continued: to emphasize the performance of objects created and managed through code over ones created and managed on the timeline.
    I find that version control is a great way to handle this. Even if you aren't set up to use a central repository and don't want to be, both Git and Subversion support local repositories that will give you revision points to go back to without copies all over the place. If that's too much overhead, Dropbox also keeps a revision history and I have heard/read that you can go back to previous versions you have stored there. However, I don't know the specific details of how it works.

  • Is it safe to update iphone 4 to ios 5? I bought it from Apple Store UK but I live in Turkey. The phone is simfree. Is it possible that when I update it, it will be locked? If so how can I fix it?

    People say that even the Iphone 4 is factory unlocked, when you update it to ios 5, it will be locked and there is no solution for that. I use ios 4.3.3 I hope you can help me. Thank you so much. Gizem.

    If it is an officially unlocked iPhone, you can use any supported SIM.
    Follow these steps to upgrade: iOS 5: Updating your device to iOS 5

  • TS1365 My MacBook Pro will not startup.  At all.  The suggestions from Apple Support are not helping.  At all.  Someone help?!?

    My MacBook Pro will not startup.  Its not responding at all.  Does anyone have any suggestions on how I can correct this?

    HI Catherine,
    First, make sure it it shut down by holding down the power button for 5-10 seconds. Plug in the power adapter. Press the power button and hold down the shift key to see if you can start in Safe Mode.
    If the power adapter and/or battery are known good, the next thing I'd check would be the RAM to make sure it is securely seated. If batt and/or power adapter are questionable, then you'll want to find one or both and try them out; if you don't know someone with a similar MBP, this might be most easily accomplished by making a free appointment at an Apple Store "genius" bar.

  • NativeApplication.nativeApplication.exit(); problem in iOS app

    Have this function called to exit an iOS app:
    function ExitApp(event:MouseEvent):void {
              listenIO(urAt,0);
              trace('NativeApplication Exit');
              NativeApplication.nativeApplication.exit();
    The function is triggered as the listenIO() does its thing and the trace() triggers, but no exit(). Closing the iOS app by the hardware menu button exits but when re-entering the app, it is stll where it was left and I don't have a function to return to a preset state.
    Help to exit the app appreciated, thank you.

    One way to get around exit() not working on iOS might be to set the following property in your iPhone section of your app XML:
    <iPhone>
              <key>UIApplicationExitsOnSuspend</key>
              <true/>
    </iPhone>
    That would force your application to exit on suspend (aka the user pressing the hardware button)

  • Will there be  iOS 8 Extension for Adobe Reader application in the upcoming version

    Will Adobe reader iOS app  provide extension which would allow to edit the pdf.So that we do not need to copy the file into the reader, instead we would use extension to edit the file.

    Thank you for your feedback. I cannot speculate on future releases, but we will take your feedback into consideration.

  • IOS App Beta testing

    Hi there,
    I am new in these communities, so I would appreciate any help possible.
    My app is close to being submitted for approval, but I am currently looking for help with beta testing the app.
    Can someone help me with the process/options I have?
    Thanks in advance.
    Regards.

    There's no official way, but many websites offer the service:
    - to distribute your beta over the air if you already know your Beta-testers
    - to find beta-testers and have them test your app.
    Some are free, but the result in terms of quality is not ensured, others can find great beta testers for you but they are paid service (price can vary a lot).
    You can type in any search engine the keywords about that, and you should find what you're looking for !
    (for instance: "ios app review beta test")

  • Windows App Certification Kit 3.4 error occurred while generating the report (the application will exit)

    Hi all,
    I've encounter a pretty big issue while trying to check if everything with my windows phone 8.1 app is all right. After creating package (*.appx) I launched Windows App Certification Kit 3.4 to run it against all the test. Each time I try I get an error saying
    "an error occurred while generating the report. the application will exit" and Certification tool just crushes
    I looked online for some solutions but couldn't find any. Somebody knows what is going on and how to fix it ?
    Can't insert images into post because of not verified account so imgur:
    http://imgur.com/ptT0cU3

    Try sending it to store anyway… I have the similar issue, the kit hangs when saving result and never complete it.
    Another member has same question.
    https://social.technet.microsoft.com/Forums/en-US/11910167-75e1-47d8-a0fb-fb8046c57f89/windows-app-certification-kit-31-reports-failure-due-to-crash-or-hang?forum=projectsiena.
    If you want to test your app, you can also send to beta store and you can get response from the testers.

  • Itunes 11.1.5 will not sync new apps with iPhone 5 iOS 7.0.6 and gives grayed out "install" no message?  How does one work around this?

    Itunes 11.1.5 (MacBook Pro,OS 10.6.8) will not sync new apps with iPhone 5 iOS 7.0.6 and gives grayed out "install" no message?  How does one work around this?

    Just reboot your laptop... While its rebooting try to reboot your phone also by holding the home and power buttonn for 10-15 seconds...When your phone is turned off try to connect it to iTunes and it will recognize your phone in recovery mode.
    If you have the .ipsw file for iOS 7.0.6 saved in your desktop then in itunes press shift and click on Restore.
    Select the ipsw file and let it restore.
    If you dont have it downloaded then simply click on restore.
    I hope it works
    Cheers !

  • Will I lose my app data when I upgrade to ios 8

    I Am considering upgrading to ios 8 for the new apps and features it brings but I am wondering if my apps will work on ios 8 and data will be saved? I know that when I upgraded to ios 7 all my data was still there, and I have heard ios 8 is similar to ios 7 in terms of look not like ios 6 to 7.
    p.s. If this is the wrong place to post this question move it to where the right place is.

    My iPad 4 runs fine on IOS 8.1.2, you should have no problems. To second what mende1 has already said be sure to make a backup first. The one time I had troubles with a update and needed to restore my iPad the iCloud backup fully restored all my infomation.

Maybe you are looking for

  • Verify permissions for  "...HD" Error: No valid packages (-9997)

    Anybody knows, what happend ? Can't start the computer from this volume. DiskWarrior says something about not linked or pointed link files. 50 of them. Repairable ? This is my second hard drive, I'm using mainly for storage. Could it be that it happe

  • ITunes Library Maintenance

    I have mulitple copies of songs in my library following a move to a different drive, how do I remove the unreachable files in the library without having to do them all individually?

  • Replacement floppy and keyboard

    I have just bought a PB3400c and I've been told the keyboard doesn't work. Can anyone tell me where I can get a replacement somewhere in europe? I would also like a floppy drive for it. Are these easy to get hold of?

  • Have to keep deleting preferences!

    Thank god I actually found some nice advice on a forum that recommended preference manager for slow behaviour... My mac was soooooo slow... I would jump out of fcpx and into the file manager and then have to wait 2 minutes before I could do something

  • Outlook 2010 - One of My Email Accounts Keeps Archiving/Deleting Emails

    I have three email accounts on my one Outlook 2010 program. This problem is only happening to one of them. At the end of the week (Friday) I close out of my email. Whether I use my email again over the weekend doesn't matter, come Monday morning - al