Professional Documents
Culture Documents
6
http://mckru.edu.pk/ojs
Abida Shar1*, Sajida Naz Shar2, Fida Shar2, Farhan Ali Surahio2
1
Department of Computer Sciences, Mir Chakar Khan Rind University Sibi Balochistan
2
Shah Abdul Latif University, Khairpur Mirs, Sindh, Pakistan
Corresponding Email: abdia.sukkur@gmail.com
Article Received 01-01-2021, Revised 20-01-2021, Accepted 10-02-2021.
Abstract
In this paper, tried to introduce features of iPhone Operating System (iOS) application and
give an elaborated description of iOS infrastructure from the prospective of developers. For this, an
easy audio media player provided as instance to demonstrate the fundamental working process of
iOS application components. This paper could provide better guidance to knowing the operation
mechanism of iOS applications and to developing application on iOS platform.
Keywords—iOS operating system, framework application, Darwin kernel
26
Meh. J. Sci, Tech. Vol. 2(1), 26-31, 2022 Shar et al.,
http://mckru.edu.pk/ojs
ferent components of the iOS and also supports to system that supports to drivers including, Blue-
the application interface. It also supports to tooth, display, Wi-Fi and others communication
SQLite classes and other graphic libraries like drivers. It is an abstract layer between the hard-
OpenGL etc. ware and software heap. The memory manage-
iOS Runtime includes the core libraries set ment, security service are the core services of this
and LLVM supports to compile and create .ipa layer. Furthermore, it interacts with the LLVM
file extension of the Apps for testing and also resolves the issues of threads
Kernel XNU is the core of the iPhone operating
27
Meh. J. Sci, Tech. Vol. 2(1), 26-31, 2022 Shar et al.,
http://mckru.edu.pk/ojs
source type file use to store interfaces in iOS) and UIKit also posts events to Apps custom event
prepares the event loops. An important point, the handlers that are views and view controller. The
Apps life cycle is sending messages through the Apps of iOS follows Model View View Control-
UIKit to the App delegate instance to let it know ler (MVVC) pattern architecture. The Figure.3
what is actually happening. While the event loop shows iOS App life cycle activity [6].
28
Meh. J. Sci, Tech. Vol. 2(1), 26-31, 2022 Shar et al.,
http://mckru.edu.pk/ojs
service that is running. It always runs into the that detects automatically silence and to keep
main function of an App. screen dark. Now user can subscribe by creating
Likewise, particular permissions are required profile and it is a new organizing way of sub-
to run Apps in the background without being de- scription [7].
layed or suspended. These long running jobs also Related Work
required particular permission to run in the iOS It has not been found any precise way to intro-
background including duce iOS. Despite, only one contribution found
An audible content will be played by App to regarding to mobile operating system platform
user during in the background just as media play- survey proposed by [8]. Other all contributions
er App. are giving immersive information about the other
All the times users are informed kept loca- perspectives of the iOS that are discussed along
tion like navigation App that supports to voice with suitable examples.
over internet protocol, newscast Apps that need to Audio Media Player as an Instance
download them and process new contents. Here is a simple audio music player; some
App receives regular updates from external important components of iOS have been ex-
accessories that implement these services for plained in this instance. AudioMusicInterface is
support and use system interface to implement an object of player activity interface type and it
related aspects of services. Sometimes it’s system provides an interface to users for communication
interface that really prevents Apps from being with services used to play music in background.
delayed or suspended. MPMediaPlayerController is a class that manages
cPersistant is SQLite function (another ser- audioplayback files. MPMediaIns is used as an
vice) wrapper following by C programming lan- object of MPMediaPlayerController, it instantiate
guage used as application template for database its object and performs a query for media that get
access and its routines that are nuisance when an array of MPMediaItem class. Thus,
written code as whole and each call involves with MPMediaPlayerController sets queue with the
some steps including, SQL statement preparation, array obtain in MPMediaItems. After following
SQL format for string, execute and release the these steps, play,pause, next etc commands can be
resources [3]. issued. The state of play items or external volume
can be increase or decrease via these instances.
New iOS Application Features We used Model View Controller (MVC) architec-
Several new features recently introduced by ture to develop audio music player with the help
Apple Inc. these days, iOS 11 provides more bet- of Xamarin Studio under the C++ language.
ter way to organize photos either portrait or land- Model helps to store data, whereas, view provides
scape than precede. Moreover, it increases the facility to design an interface of iOS App. Thus,
learning capabilities on device machine and fo- controller interacts with all the actions controls
cused on new artificial intelligence and provided behavior of an App. Three classes’ files have been
voice for Siri professional capabilities. Thus, the used entitled with MusicMainFile, MusicAudio-
camera integrated effects and other illustration PlayService and MusicInfo. While developing
activities also extended by the company. The core some special resource permission already given
features are given below with short description into property list (PList) file because iOS 11 does
Multitasking gives customable dock service for not support to several audio extensions. We locate
rapid option access. the media item and instantiate an MPMediaItem
Increased high quality motion sensors and a kit and call a dictionary with media item attribute.
known as arkit permits to programmers to tap to Thus, we predicate three sets like Album, Title
vision technologies. and Artist. Next, we created s set of three predi-
Included true tone flash that shot and looks more cates and then we generated a media query that
professional. Live photos with loop bounce effect allocates and filters the predicates. An interactive
are also made more beautiful and attractive. mode of App is given in Figure.4.
Do not disturb while driving feature is increased
29
Meh. J. Sci, Tech. Vol. 2(1), 26-31, 2022 Shar et al.,
http://mckru.edu.pk/ojs
Thus, some front screen of the audio music player and playlist screen is given in Figure.5.
30
Meh. J. Sci, Tech. Vol. 2(1), 26-31, 2022 Shar et al.,
http://mckru.edu.pk/ojs
31