Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6008061
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T01:46:16+00:00 2026-05-23T01:46:16+00:00

In my Universal-App i have some issues where the app crashes. I could not

  • 0

In my Universal-App i have some issues where the app crashes. I could not reproduce the cause of the crash so i want at least make the app “save” so that it can restart again if it has crashed.
Problem is, if my app crashes, it can happen that it cannot be started again due to some messed up user defaults.
So, if i could delete my user defaults after my app has crashed while starting, the user could at least use the app furthermore.

So far for my goals. Now i only need to know how i can detect and save it, when my app has crashed during starting.

My first intention was to set a flag in user defaults when the app crashes and then ,if the flag is set, to reset the user defaults. But i don’t know if – (void)applicationWillTerminate:(UIApplication *)application
will be called when my app crashes. And even if it is called. How can i detect if it crashed during starting?

Any suggestions would be welcome.

Greetings and thx in advance
Maverick1st

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T01:46:16+00:00Added an answer on May 23, 2026 at 1:46 am

    What about setting a flag every time your app starts up and unsetting it when it terminates normally? That way you know if it is already set when the app starts, it crashed last time.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For some reason my universal app suddenly does not want to launch in fullscreen
I have a universal app with some localization. My problem is about splash screens.
I want to create a universal apps. I have already done some apps for
I want to convert my app to a Universal app. Can anyone recommend some
In my universal app I have some images in Resources folder by the convention
I have an iPhone app. i'm trying to make it universal w/out new xibs.
In my Universal App I have a long UITableView with custom cells..and for some
I am developing a Universal app where I have imageTracker_iPhone.xib imageTracker_iPad.xib imageTracker.h imageTracker.m I
In a universal app, you have to add 6 splash images named Default.png. 320
I am working on xcode project intended to make a universal app.With the window

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.