Ios app development process is explained here.
How the application starts:
When the user just turned on his phone, no applications
running, except those belonging to the operating system. Your application does
not work. After the user taps the icon of the application, the Springboard part
of the operating system that runs the iOS home screen launches your
application. Your application and shared libraries it needs to run, will be
loaded into memory, any platform hosts the launch of your application screen.
eventually your application starts running and the delegated application
receives notifications.
Every iOS application, the device will be several transition
states like
Not running
Inactive
active
Background and suspensive conditions.
At some point, your application in one of the fells above
states.
The iOS operating system manages the states of the
application, but the application is responsible for managing the user
experience through these state transitions.
• Does not work - Either the application has not yet begun
or has been running and was terminated by the system.
• inactive - An application is running in the foreground,
but not receiving any event. This could happen in the case of a call or message
is received. An application can also remain in this state for transition to a
different state. In this state, we can not interact with the application's user
interface.
• Active - An application is running in the foreground and
receiving events. This is the normal mode for foreground applications. The only
way to go or the active state is inactive. The user normally interacts with the
user interface, and can see the response / outcome for user actions.
• Context - An application runs in the background and
running the code. Freshly applications launch directly enter the state in
Active then active. Apps that are suspended, will return to this background
state, and then transition to active → In active states. In addition,
application is launched directly into the background enters this state instead
of inactive.
• Suspended - An application is in the background but does
not execute code. In low memory, the system can purge suspended application
without notice to make a free space for the foreground application. Usually
after five seconds past in the background, applications will pass to the state
of suspension, but we can extend the time if the application needs.
Once the application has successfully launch process:
• Application: willFinishLaunchingWithOptions - This method
is called after your application has been successfully launched. It is the
first method of our application delegate to be known. You can run your code if
the launch was successful.
• Application: didFinishLaunchingWithOptions - This method
is called before the application window is displayed. You can complete your
interface can provide the root view controller to the window.
• applicationDidBecomeActive - This method is called to let
your application know that it went from inactive to active status or your
application has been launched by the user or the system or if user does not
account of an interruption (such as an incoming phone call or an SMS message)
which sent the request temporarily to inactive. You should use this method to
restart all tasks that have been paused (or not started), while the application
is idle.
• ApplicationWillResignActive - This method is called to let
your application know that it is about to go from active to inactive status.
This can occur in case of interruption (e.g. an incoming phone call or SMS or
Calendar alerts message) or when the user exits the application. You should use
this method to pause all pending tasks or disable timers etc.
• ApplicationDidEnterBackground - This method is called upon
to apply know it does not work first. You have about
DxMinds: Mobile
Apps Development Company in UK develops all kind of mobile Applications.
Comments
Post a Comment