SlideShare una empresa de Scribd logo
1 de 23
Descargar para leer sin conexión
Visvesvaraya Technological University (VTU)
                  Belgaum




            Technical Seminar Report
                       on

               Apple iOS

          Chethan H A   (4GH08CS010)


             Under the Guidance of


           Mr.Annaiah.HB.E.,M.T ech.,
              Assistant Professor
        Department of CS&E, GEC,Hassan




Department of Computer Science & Engineering
Government Engineering College,Hassan-573201
                  June 2012
Government Engineering College, Hassan 573 201
               Department of Computer Science and Engineering




                                  Certificate
   This is to certify that the work entitled “Apple iOS” is a bonafide work carried out by
Chethan H A (4GH08CS010) in partial fulfillment of the award of the degree of Bachelor
of Engineering in Computer Science & Engineering of Visvesvaraya Technological Uni-
versity, Belgaum, during the year 2012. It is certified that all corrections / suggestions
indicated during CIE have been incorporated in the report. The seminar report has been
approved as it satisfies the academic requirements in respect of the technical seminar
prescribed for the Bachelor of Engineering Degree.




   Guide                      Cordinator                   Head of the Department
   Mr.Annaiah.HB.E,M.T ech.   Mr.Chethan K CB.E,M.T ech.   Dr.K.C.RavishankarB.E,M.T ech,P h.D
   AssistentP rof essor       AssistentP rof f esor        P rof essorandHead
   Dept.of CS&E               Dept.of CS&E                 Dept.of CS&E
   GEC, Hassan − 573201       GEC, Hassan − 573201         GEC, Hassan − 573201




    Date :
    Place : Hassan
Acknowledgement
   “Acknowledgement - At the outset I express my most sincere grateful
thanks to my Guide Mr.Annaiah.H, Assistant Professor , Department
of CS&E, for his continous support and advice not only during the course
of my seminar but also during the period of our stay in GECH.

I would like to thank our seminar co-ordinator Mr.Chethan.K.C, Assis-
tant professor,Department of CS&E for his kind support.

I express my gratitude to Dr.K.C.Ravishankar, Professor and Head,
Department of CS&E for his encouragement and support throughout my
work.

I wish to express my thanks to beloved Dr.Karisiddappa, Principal for
encouragement throughout my studies.

Finally I express my gratitude to all teaching and non-teaching staff of Dept.
of CSE, Fellow classmates and my parents for their timely support and sug-
gestions.




Chethan H A
4GH08CS010




                                      i
Table of Contents

Table of Contents                                                                                                                                    ii

Abstract                                                                                                                                            iii

1 Introduction                                                                                                                                       1

2 About iOS                                                                                                                                          2

3 The    iOS Architecture                                                                                                                            4
  3.1    The Core OS layer . .     .   .   .   .   .   .   .    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .    4
  3.2    The core services layer   .   .   .   .   .   .   .    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .    5
  3.3    The media layer . . . .   .   .   .   .   .   .   .    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .    6
  3.4    The Cocoa Touch layer     .   .   .   .   .   .   .    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .    7

4 iOS Development                                                                                                                                    9
  4.1 Xcode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                               10
  4.2 Intruments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                              11

5 iOS versions                                                                                                                                      12
  5.1 Features of iOS 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                               13

6 Conclusion                                                                                                                                        17

References                                                                                                                                          18




                                                           ii
Abstract
    iOS is Apple’s mobile operating system developed originally for the iPhone,
and later deployed on the iPod Touch and iPad as well. It is derived from
Mac OS X, with which it shares the Darwin foundation, and is therefore a
Unix-like operating system, by nature. In iOS, there are four abstraction
layers: the Core OS layer, the Core Services layer, the Media layer, and the
Cocoa Touch layer. The operating system uses roughly 500 megabytes of the
device’s storage.

    Apple does not permit the OS to run on third-party hardware. As of June
7, 2010, Apple’s App Store contained more than 225,000 iOS applications,
which had collectively been downloaded more than five billion times. The
user interface of iOS is based on the concept of direct manipulation, using
multi-touch gestures. Interface control elements consist of sliders, switches,
and buttons. The response to user input is immediate and provides a fluid
interface. Interaction with the OS includes gestures such as swiping, tapping,
pinching, and reverse pinching.




                                      iii
Chapter 1

Introduction

iOS is the operating system at the heart of iPhone, iPod touch, and iPad devices.The
iOS platform was built using the knowledge that went into the creation of Mac OS X,
and many of the tools and technologies used for development on the platform have their
roots in Mac OS X as well. Despite its similarities to Mac OS X, iOS does not require ex-
perience developing Mac OS X applications. The iOS Software Development Kit (SDK)
provides everything you need to get started creating iOS applications.

The iPhone SDK contains the code, information, and tools you need to develop, test,
run, debug, and tune applications for iOS. The Xcode tools provide the basic editing,
compilation, and debugging environment for your code. Xcode also provides the launching
point for testing your applications on an iOS device, and in iPhone Simulatora platform
that mimics the basic iOS environment but runs on your local Macintosh computer.

    iOS comprises the operating system and technologies that you use to run applications
natively on devices, such as iPad, iPhone, and iPod touch. Although it shares a common
heritage and many underlying technologies with Mac OS X, iOS was designed to meet
the needs of a mobile environment, where users needs are slightly different. If you have
previously developed applications for Mac OS X, you will find many familiar technologies,
but youll also find technologies that are available only on iOS, such as the Multi-Touch
interface and accelerometer support.




                                           1
Chapter 2

About iOS

iOS is was developed by Apple Inc. in june 2007 for iPhone so it is also called iPhone
OS.It is programmed in C,C++ and Objective C and derived from the Mac OS X.The
Mac OS X is series of Operating System developed by Apple Inc. and it supports Graph-
ical user Interfaces(GUI) and therefore a Unix like OS.

The kernel type is Hybrid kernel architecture and hybrid kernel architecture is com-
bination of microkernel and monolithic kernel.iOS is currently supported by 34 languages
worldwide.The Latest Stable release is version 5.0.1 (Build 9A406) for iPhone 4 S and
The Latest Stable release is version 5.0.1(Build 9A405) for iPhone,iPhone 3G,iPhone
3GS ,iPhone 4,iPod Touch and iPad and The Latest unstable release is version 5.1(Build
9B5141a).The defaultuser interface of iOS is Cocoa Touch(Multi-touch,GUI).

Initially, third-party applications were not supported. Steve Jobs argued that developers
could build web applications that ”would behave like native apps on the iPhone”.On
October 17, 2007, Apple announced that a native SDK was under development and that
they planned to put it ”in developers’ hands in February”. On March 6, 2008, Apple
released the firstbeta, along with a new name for the operating system: iPhone OS. Brisk
sales of Apple mobile devices kindled interest in the SDK.



Multitasking:
The biggest and most obvious update to iOS 4 is the ability for third-party applications
to ”multitask”that is, you don’t have to terminate them in order to do something else
in another app. This is functionality that has been requested of Apple since the launch
of the original iPhone in 2007, and it has been a long time coming. (Only the iPhone 4,
iPhone 3GS, and third-gen iPod touch get multitasking.)



                                           2
Apple iOS                                                                      Chapter 2

Apple’s own apps have always been able to truly multitask (you can get iCal alerts
while playing a game, for example, or listen to music from the iPod app while reading a
webpage), but third parties can now take advantage of alimited setof multitasking capa-
bilities in order to make things easier on the user.

Apple claims that it only allows for certain functionality so that the OS can continue
to preserve battery life and performance in a sane manner. So, what exactlycanyou do
with this new feature? Really, the answer isn’t so much that apps will be ”multitasking,”
but rather that they’ll be ”doing a few things in the background”



   Audio: you can now listen to streaming music from apps, like Pandora or newscasts
through the NPR app, while doing other activities on your phone. Previously, you would
have to quit out of the app (and therefore stop your music stream) if you wanted to
respond to an SMS or read your e-mail, and now that’s no longer the case.

   VoIP: similarly, you can carry on Voice Over IP calls on services like Skype without
having to quit the app if you need to perform other tasks.

    Location: apps that need to poll your location, such as GPS and direction apps, will
be able to do so in the background. No longer will you need to keep the app in the
foreground just so it can keep track of where you are.

    Local notifications: third-party apps no longer have to rely solely on push notifica-
tions if they want to alert you of something on your phone.

   Complete tasks: if you start a task in an application and then switch to another one
(such as downloading a new map in your favorite game), it can now complete the task in
the background instead of forcing you to sit there and wait on it.

    Fast app switching: this is basically ”pausing” an app where it is, which allows you
to quickly switch away from it and then switch back, picking up where you left off.




Dept of CS&E, GEC,Hassan                                                               3
Chapter 3

The iOS Architecture

The iOS architecture is similar to the basic architecture found in Mac OS X. At the
highest level, iOS acts as an intermediary between the underlying hardware and the
applications that appear on the screen.The applications you create rarely talk to the un-
derlying hardware directly. Instead, applications of the iOS Architecture communicate
with the hardware through a set of well-defined system interfaces that protect your ap-
plication from hardware changes. This abstraction makes it easy to write applications
that work consistently on devices with different hardware capabilities.

  The iOS Architecture consists of four main layers namely:
The core Operating system
The core services layer
The medium layer
The Cocoa Touch layer




3.1     The Core OS layer
This layer contains the low-level features that most other technologies are built upon.
Even if you do not use these technologies directly in your applications, they are most
likely being used by other frameworks.

Accelerate Framework Introduced in iOS 4.0, the Accelerate framework (Accelerate.framework)
contains interfaces for performing DSP, linear algebra, and image-processing calculations.
The advantage of using this framework over writing your own versions of these interfaces
is that they are optimized for all of the hardware configurations present in iOS-based
devices.


                                           4
Apple iOS                                                                      Chapter 3

Core Bluetooth -The Core Bluetooth framework (CoreBluetooth.framework) allows
developers to interact specifically with Bluetooth Low-Energy (”LE”) accessories.

External Accessory Framework -Introduced in iOS 3.0, the External Accessory frame-
work (ExternalAccessory.framework) provides support for communicating with hardware
accessories attached to an iOS-based device. Accessories can be connected through the
30-pin dock connector of a device or wirelessly using Bluetooth.

Security Framework -iOS also provides an explicit Security framework(Security.framework)
that you can use to guarantee the security of the data your application manages.This
framework provides interfaces for managing certificates, public and private keys, and
trust policies. It supports the generation of cryptographically secure pseudorandom num-
bers. It also supports the storage of certificates and cryptographic keys in the keychain,
which is a secure repository for sensitive user data. The Common Crypto library provides
additional support for symmetric encryption, HMAC, and digests. The digests feature
provides functions that are essentially compatible with those in the OpenSSL library,
which is not available in iOS.




3.2     The core services layer
The Core Services layer contains the fundamental system services that all applications
use. Even if you do notuse these services directly, many parts of the system are built on
top of them.The following sections describe some of the key technologies available in the
Core Services layer.

iCloud Storage -Introduced in iOS 5, iCloud storage lets your application write user
documents and data to a central location and access those items from all of a users com-
puters and iOS devices.

There are two ways that applications can take advantage of iCloud storage, each of
which has a different intended usage:

1. iCloud document storageUse this feature to store user documents and data in the
users iCloud account.
2. iCloud key-value data storageUse this feature to share small amounts of data among
instances of your application.

   Accounts Framework -Introduced in iOS 5, the Accounts framework (Accounts.framework)
Dept of CS&E, GEC,Hassan                                                               5
Apple iOS                                                                        Chapter 3

provides a single sign-on model for certain user accounts.Single sign-on improves the user
experience, because applications no longer need to prompt a user separately for login
information related to an account.

Address Book Framework -The Address Book framework (AddressBook.framework)
provides programmatic access to the contacts stored on a users device.

Core Data Framework -Introduced in iOS 3.0, the Core Data framework (Core-
Data.framework) is a technology for managing the data model of a Model-View-Controller
application.




3.3     The media layer
The Media layer contains the graphics, audio, and video technologies geared toward cre-
ating the best multimedia experience available on a mobile device.

Graphics Technologies
High-quality graphics are an important part of all iOS applications. Core Graphics (also
known as Quartz) handles native 2D vector- and image-based rendering. Core Animation
(part of the Quartz Core framework) provides advanced support for animating views and
other content. Core Image provides advanced support for manipulating video and still
images.

Audio Technologies
The audio technologies available in iOS are designed to help you provide a rich audio
experience for your users. This experience includes the ability to play high-quality audio,
record high-quality audio, and trigger the vibration feature on certain devices.The audio
technologies in iOS support the following audio formats:AAC,Apple Lossless (ALAC), A-
law,IMA/ADPCM (IMA4),Linear PCM, -law,DVI/Intel IMA ADPCM,Microsoft GSM
6.10.

Video Technologies
Whether you are playing movie files from your application or streaming them from the
network, iOS provides several technologies to play your video-based content. On devices
with the appropriate video hardware, you can also use these technologies to capture video
and incorporate it into your application.

The video technologies in iOS support the playback of movie files with the .mov, .mp4,
Dept of CS&E, GEC,Hassan                                                                 6
Apple iOS                                                                       Chapter 3

.m4v, and .3gp filename extensions and using the following compression standards:

   1. H.264 video, up to 1.5 Mbps, 640 by 480 pixels,Low-Complexity version of the
H.264 Baseline Profile with AAC-LC audio up to 160 Kbps, 48 kHz, stereo audio in
.m4v, .mp4, and .mov file formats
2. H.264 video, up to 768 Kbps, 320 by 240 pixels, Baseline Profile up to Level 1.3 with
AAC-LC audio up to 160 Kbps, 48 kHz, stereo audio in .m4v, .mp4, and .mov file formats
3. MPEG-4 video, up to 2.5 Mbps, 640 by 480 pixels, Simple Profile with AAC-LC audio
up to 160 Kbps, 48 kHz, stereo audio in .m4v, .mp4, and .mov file formats

AirPlay
AirPlay is a technology that lets your application stream audio to Apple TV and to third-
party AirPlay speakers and receivers. AirPlay support is built in to the AV Foundation
framework and the Core Audio family of frameworks. Any audio content you play using
these frameworks is automatically made eligible for AirPlay distribution. Once the user
chooses to play your audio using AirPlay, it is routed automatically by the system.




3.3.1    Media Layer Frameworks
Core Graphics Framework -The Core Graphics framework (CoreGraphics.framework)
contains the interfaces for the Quartz 2D drawing API. Quartz is the same advanced,
vector-based drawing engine that is used in Mac OS X. It provides support for path-based
drawing, anti-aliased rendering, gradients, images, colors, coordinate-space transforma-
tions, and PDF document creation, display, and parsing.

Core Image Framework -Introduced in iOS 5, the Core Image framework (CoreIm-
age.framework) provides a powerful set of built-in filters for manipulating video and still
images.




3.4     The Cocoa Touch layer
The Cocoa Touch layer contains the key frameworks for building iOS applications. This
layer defines the basic application infrastructure and support for key technologies such as
multitasking, touch-based input, push notifications, and many high-level system services.

High level features such as storyboards,Document support,Multitasking,Printing,Data
Dept of CS&E, GEC,Hassan                                                                7
Apple iOS                                                                     Chapter 3

Protection,Apple push notifications service and File sharing are supported by Cocoa
touch layer.

There are so many Cocoa touch layer frameworks are there.They are:

Address Book UI Framework -The Address Book UI framework (AddressBookUI.framework)
is an Objective-C programming interface that you use to display standard system inter-
faces for creating new contacts and for editing and selecting existing contacts.

Game Kit Framework -Introduced in iOS 3.0, the Game Kit framework (GameKit.framework)
lets you add peer-to-peer network capabilities to your applications. Specifically, this
framework provides support for peer-to-peer connectivity and in-game voice features.

Twitter Framework -Introduced in iOS 5, the Twitter framework (Twitter.framework)
provides support for sending Twitter requests on behalf of the user and for composing
and sending tweets.The Twitter framework also works in conjunction with the Accounts
framework (Accounts.framework) to access the users account.

Map Kit Framework -Introduced in iOS 3.0, the Map Kit framework (MapKit.framework)
provides a scrollable map interface that you can integrate into your existing view hierar-
chies. You can use this map to provide directions or highlight points of interest. Appli-
cations can programmatically set attributes of the map or let the user navigate the map
freely. You can also annotate the map with custom images or content.




   iOSArchitectureLayers

Dept of CS&E, GEC,Hassan                                                              8
Chapter 4

iOS Development

Mac OS X applications cannot be copied to and run on an iOS device. The applica-
tions must be written and compiled specifically for iOS and the ARM architecture. The
Safari web browser supports web applications as with other web browsers. Authorized
third-party native applications are available for devices running iOS 2.0 and later through
Apple’s App Store.



iOS is the operating system that runs on iPhone, iPod touch, and iPad devices. This
operating system manages the device hardware and provides the technologies required
to implement native applications. The operating system also ships with various system
applications, such as Phone, Mail, and Safari, that provide standard system services to
the user.



Software Development Kit(SDK)
The iOS SDK contains the tools and interfaces needed to develop, install, run, and test
native applications. Native applications are built using the iOS system frameworks and
Objective-C language and run directly on iOS. Unlike web applications, native applica-
tions are installed physically on a device and are therefore always available to the user,
even when the device is in Airplane mode. They reside next to other system applications
and both the application and any user data is synced to the users computer through
iTunes.

On October 17, 2007, in an open letter posted to Apple’s ”Hot News” weblog, Steve
Jobs announced that a software development kit (SDK) would be made available to
third-party developers in February 2008. The SDK was released on March 6, 2008, and
allows developers to make applications for the iPhone and iPod Touch, as well as test

                                            9
Apple iOS                                                                       Chapter 4

them in an ”iPhone simulator”. However, loading an application onto the devices is only
possible after paying an iPhone Developer Program fee. Since the release of Xcode 3.1,
Xcode is the development environment for the iPhone SDK. iPhone applications, like iOS
and Mac OS X, are written in Objective-C.

Developers are able to set any price above a set minimum for their applications to be
distributed through the App Store, of which they will receive a 70 percent share. Alter-
nately, they may opt to release the application for free and need not pay any costs to
release or distribute the application except for the membership fee.

Some have criticized the mandatory Developer Agreement’s refund policy, which says
that if someone purchases an app from the App Store, 30 percent of the price goes to
Apple, and 70 percent to the developer. If a refund is granted to the customer (at Apple’s
discretion), the 30 percent is returned to the customer from Apple, and 70 percent from
the developer; however, Apple can then take another 30 percent of the cost from the
developer to make up for Apple’s loss.




4.1     Xcode
The focus of your development experiences is the Xcode application. Xcode is an inte-
grated development environment (IDE) that provides all of the tools you need to create
and manage your iOS projects and source files, assemble your user interface, build your
code into an executable, and run and debug your code either in iOS Simulator or on a
device. Xcode incorporates a number of features to make developing iOS applications
easier, including the following:

1. A project management system for defining software products
2. A code-editing environment that includes features such as syntax coloring, code com-
pletion, and symbol indexing
3. An integrated editor for creating storyboard and nib files
4. An advanced documentation viewer for viewing and searching Apple documentation
5. A context-sensitive inspector for viewing information about selected code symbols
6. An advanced build system with dependency checking and build rule evaluation
7. LLVM and Clang support for C, C++, and Objective-C
8. GCC compilers supporting C, C++, Objective-C, Objective-C++, and other lan-
guages
9. A static analyzer for validating the behavior of your app and identifying potential
problems.
Dept of CS&E, GEC,Hassan                                                               10
Apple iOS                                                                       Chapter 4

10. Integrated source-level debugging using GDB
11. Support for integrated source-code management
12. Support for DWARF and Stabs debugging information (DWARF debugging infor-
mation is generated by default for all new projects)
13.Support for managing iOS development devices



To create a new iOS application, you start by creating a new project in Xcode. A
project manages all of the information associated with your application, including the
source files, build settings, and rules needed to put all of the pieces together. The heart
of every Xcode project is the project window. This window provides quick access to all
of the key elements of your application. In the Groups Files list, you manage the files
in your project, including the source files and build targets that are created from those
source files. In the toolbar, you access commonly used tools and commands. We can
then configure the workspace to display the panes you need for editing, navigating your
project content, debugging, and obtaining additional information about items.


4.2     Intruments
To ensure that you deliver the best user experience for your software, the Instruments
environment lets you analyze the performance of your iOS applications while running in
Simulator or on a device. Instruments gathers data from your running application and
presents that data in a graphical display called the timeline view .

We can gather data about your applications memory usage, disk activity, network activ-
ity, and graphics performance. The timeline view can display all the types of information
side by side, letting you correlate the overall behavior of your application, not just the
behavior in one specific area.



For example, the Instruments window lets you store data from multiple runs so that
you can see whether your applications behavior is actually improving or whether it still
needs work. You can save the data from these runs in an Instruments document and
open them at any time.

In addition to providing the timeline view, Instruments provides tools to help you analyze
your applications behavior over time.



Dept of CS&E, GEC,Hassan                                                               11
Chapter 5

iOS versions

On June 29, 2007, Apple released the first version of iOS concurrently with the first
iPhone. The final 1.x series release was 1.1.5, released shortly before version 2.0.On July
11, 2008 saw the public release of iPhone OS 2.0, with upgrades through version 2.2 made
available. iOS 3.0 was released on June 17, 2009. It was updated through (and including)
version 3.1.3.The first generation iPod Touch and iPhone have iOS 3.1.3 as their newest
available version. The iPad was introduced with 3.2, a version made specifically for the
iPad.

   On June 6, 2011, Apple previewed iOS 5, Apple TV 4.4 beta and the iOS SDK 5
beta along with iCloud beta among other products. This update introduced iMessage
chat between devices running iOS 5, a new notification system, Newsstand subscriptions,
Twitter integrated into iOS, Reminders app, Enhancements to AirPlay, full integration
with iCloud and over 200 new features. iOS 5.0 supports All iPad models, iPhone 3GS,
iPhone 4 GSM CDMA, the iPod Touch 3rd 4th generation.

    Apple concurrently provides the same version of iOS for the comparable model of iPod
and iPhone, usually devices released in the same calendar year. iPhone users receive all
software updates for free, while iPod Touch users paid for the 2.0 and 3.0 major software
updates. As of iOS 4.0, Apple no longer charges for iPod Touch updates.



   • iOS 1.x: initial OS

   • iOS 2.x: second major OS

   • iOS 3.x: third major OS

   • iOS 4.x: fourth major OS

   • iOS 5.x: fifth major OS
                                           12
Apple iOS                                                                       Chapter 5

      The Latest Stable release is version 5.0.1 (Build 9A406) for iPhone 4 S and the
      Latest Stable release is version 5.0.1(Build 9A405) for iPhone,iPhone 3G,iPhone
      3GS ,iPhone 4,iPod Touch and iPad and the Latest unstable release is version
      5.1(Build 9B5141a)


5.1     Features of iOS 5

      iMessages/messages: Messaging between all iOS devices running iOS 5 through
      Wi-Fi or 3G. Allows to send text, photos, videos, contacts, and locations. All iMes-
      sages and conversations will be synced between all iOS devices linked under a single
      Apple ID. You can start a conversation on one device and continue it on another
      and Can message between multiple people simultaneously (group messaging).



      Music:
      iPod app now split into Music and Videos (iPhone and iPad only).
      Video podcasts can only be found in the Videos app.
      Ability to play content while the device is synchronizing with iTunes.
      Ability to delete songs from device (by swiping over the corresponding song).
      Tap and hold on a song to view extended song information.
      Long names scrolling in now playing.



      Mail:
      Rich text formatting (bold, italics and underline).
      Indentation control.
      Ability to mark multiple mail items as read.
      Ability to flag emails.
      Draggable mail address in the recipients field.
      Alert if the subject line is blank.
      Search now includes body of messages.
      Delete mails while in Airplane mode.



      Safari:
      Safari Reader: On certain web articles, a new ’Reader’ icon will appear in the ad-
      dress bar which will display a new window sheet over the current page sans any ads
      or clutter. Prior or following pages in the article normally needed to open a new

Dept of CS&E, GEC,Hassan                                                               13
Apple iOS                                                                   Chapter 5

     link will show up uniformly, separated by only a page break and ability to change
     font size in reader mode.



     iCloud:
     iTunes, iBooks (books and progress), App Store, Photo, Contacts, Calendar, Notes,
     Reminders, Mail, Safari bookmarks and Reading List items, device settings, app
     data, iWork and backup data saved in iCloud and automatically or manually down-
     loaded to all linked devices (iOS and Mac/Windows PCs.



     YouTube: Ability to play 480p/720p videos over 3G (iPhone only).
     Scrolling titles for YouTube videos.



     iTunes/App Store:
     iTunes Tone Store.
     New Purchased History section.
     Genius support for finding songs and apps similar to ones users have purchased
     previously.
     Ability to completely disable in-App purchases.
     iTunes password prompt.



     Game Center:
     Photos for friends.
     Ability to make your Profile public or private.
     Points in Game Center: shows you how many points you have on the home screen
     of Game Center.
     Sort and View friends on the basis of Points.
     Friend Recommendations.
     Games can be purchased from within Game Center.



     Keyboard:
     Ability to create keyboard shortcuts (autotext) to replace custom phrases. By de-
     fault includes omw which expands to On my way!. Emoji keyboard is no longer
     requires an app to enable it. Define your own words in Offline Dictionary.

Dept of CS&E, GEC,Hassan                                                           14
Apple iOS                                                                        Chapter 5


     Photos:
     Built-in basic photo editing: crop, red-eye, auto-enhance and rotate photos.
     Ability to create and edit local photo albums folders (only those that aren’t synced
     with iTunes).
     Ability to sync pictures taken on one iOS device automatically with other iOS 5
     devices using Photo Stream.
     Ability to select all when adding pictures to an album.
     Slight re-design for video time-line under Photos app.

     Maps:
     Print maps.
     Alternate routes.
     Traffic.



     AirPlay mirroring: Ability to connect with Airplay to an Apple TV, display
     on iOS device also seen on TV.
     Videos Ability to play 1080p content.


5.1.1    iOS 5.x: battery, Wi-Fi, SIM card, echo bugs and
         unknown data usage
Apple has confirmed that several battery life bugs are negatively affecting battery life in
iOS 5.They attempted to fix these bugs with iOS 5.0.1 but unfortunately the problem
still remains.The launch of the iOS 5 update on October 12, 2011 (including iOS 5.0.1
released on November 10, 2011) led many users to report a major bug causing the device
to lose Wi-Fi access. As of January 17, 2012, this problem remained unresolved.Some
users of the iPhone 4S and iPad 1 reported issues with the SIM card in the initial release
of iOS 5, and even though Apple attempted to fix these issues in version 5.0.1 build 9A406
(for iPhone 4S only), they still remain. Some users of the iPhone 4S/4 reported issues
with having echo problems during phone call in the initial release of iOS 5, which causes
echos to appear randomly during phone calls made through earphones.



It has also been reported by many users that there is an issue with unknown data usage
over 3G data generally reported in the early morning or late evening.It is still unclear
what could have caused the phone to send this data over 3G even when the phone could
have used wifi to do so. It is also not clear what this data might be. And further it is not
Dept of CS&E, GEC,Hassan                                                                15
Apple iOS                                                                         Chapter 5

clear who should be responsible for this issue: Apple, carrier or both. The first report
came out as early as Feb 2010 and this issue appears to only affect iPhone users within
USA and latterly the UK. Whilst restricting the use of notifications appeared to reduce
the problem, it did not eliminate it and many users still could not seem to find a solution
as of Feb 2012.



5.1.2     List of iOS Devices
The devices include the iPhone multimedia smartphone, the iPod touch, which is similar
to the iPhone but has no cell phone hardware, and the iPad tablet computer.

All three devices function as digital audio and portable media players and Internet clients.
The Apple TV, which also runs iOS, is a set-top box for streaming local media to a con-
nected television set, and has no screen of its own.

The operating system on iOS devices can be updated through iTunes, or, on iOS 5
or later, directly on the device.

A new version of iOS tends to be released once a year, and is normally free, although iPod
touch users were formerly required to pay a fee. Apple upgrades its products’ hardware
periodically. There have been five generations of iPhone, four of iPod touch, and two of
iPad. Older models of iPod touch are available at retailers at a reduced price but are no
longer available on the Apple Store

 iOSDevices




Devices.jpg


Dept of CS&E, GEC,Hassan                                                                 16
Chapter 6

Conclusion

The objective of the seminar report was to study and enhance our knowledge about Ap-
ple iOS, mobile operating system. We have learnt about the new features of the iOS 5
operating system, whats new in it, how is it different from previous versions of iOS, what
the technicality behind the iOS 5 is and some more information about it.

    So we have learnt about the layers of iOS technology viz. core os, core services, media
and cocoa touch. We have studied about some aspects of the iOS 5 that will help us
in developing the applications for iPhone, via this report. Hence we are now acquainted
with iOS operating system for iPhone. We now know its features and technicality.

    Despite the fact that all the information regarding iOS cannot be bound in this re-
port, I have tried to cover almost all points that made our study of iOS 5 worthy.We
have learnt many things about the iOS 5, which we can implement on our own with just
a little effort. Hence our objective has been achieved through this report.




                                            17
References

[1] iOS-http://en.wikipedia.org/wiki/IOS

[2] Mobile Operating System-http://en.wikipedia.org/wiki/Mobile_operating_
    system

[3] Mac OS X-http://en.wikipedia.org/wiki/Mac_OS_X

[4] iOS Versions-http://en.wikipedia.org/wiki/IOS_version_history

[5] Hybrid Kernel-en.wikipedia.org/wiki/Hybrid_kernel

[6] iOS Devices -http://en.wikipedia.org/wiki/List_of_iOS_devices




                                    18

Más contenido relacionado

La actualidad más candente

i Operating system
i Operating systemi Operating system
i Operating system
Akhil Kumar
 

La actualidad más candente (20)

iOS PPT
iOS PPTiOS PPT
iOS PPT
 
Introduction to ios
Introduction to iosIntroduction to ios
Introduction to ios
 
Srinumanne ios operating system ppt
Srinumanne ios operating system pptSrinumanne ios operating system ppt
Srinumanne ios operating system ppt
 
Android & IOS
Android & IOSAndroid & IOS
Android & IOS
 
Ios seminar
Ios seminarIos seminar
Ios seminar
 
Presentation on iOS
Presentation on iOSPresentation on iOS
Presentation on iOS
 
i Operating system
i Operating systemi Operating system
i Operating system
 
Ios operating system
Ios operating systemIos operating system
Ios operating system
 
Apple iOS Introduction
Apple iOS IntroductionApple iOS Introduction
Apple iOS Introduction
 
Android Operating System
Android Operating SystemAndroid Operating System
Android Operating System
 
mobile Os
mobile Osmobile Os
mobile Os
 
iOS - History of iOS
iOS - History of iOSiOS - History of iOS
iOS - History of iOS
 
ios vs android.ppt
ios vs android.pptios vs android.ppt
ios vs android.ppt
 
Apple iOS
Apple iOSApple iOS
Apple iOS
 
Android OS
Android OSAndroid OS
Android OS
 
Ios operating system
Ios operating systemIos operating system
Ios operating system
 
Mobile operating systems
Mobile operating systemsMobile operating systems
Mobile operating systems
 
History of mobile apps
History of mobile appsHistory of mobile apps
History of mobile apps
 
IOS vs Android presentation by Saikrishna
IOS vs Android presentation by SaikrishnaIOS vs Android presentation by Saikrishna
IOS vs Android presentation by Saikrishna
 
Android vs ios presentation detailed slides
Android vs ios presentation detailed slidesAndroid vs ios presentation detailed slides
Android vs ios presentation detailed slides
 

Destacado

Sample business plan presentation(2)
Sample business plan presentation(2)Sample business plan presentation(2)
Sample business plan presentation(2)
smarty23b
 
Business plan_Restaurant
Business plan_RestaurantBusiness plan_Restaurant
Business plan_Restaurant
Arnav Soni
 
Business plan coffee shop
Business plan coffee shopBusiness plan coffee shop
Business plan coffee shop
Amol Kadu
 
Sample Business Proposal Presentation
Sample Business Proposal PresentationSample Business Proposal Presentation
Sample Business Proposal Presentation
Daryll Cabagay
 
Business Plan Powerpoint 1
Business Plan Powerpoint 1Business Plan Powerpoint 1
Business Plan Powerpoint 1
haleydawn
 

Destacado (18)

My Internet Cafe
My Internet CafeMy Internet Cafe
My Internet Cafe
 
Theater Arts
Theater ArtsTheater Arts
Theater Arts
 
History of iOS
History of iOSHistory of iOS
History of iOS
 
iOS platform
iOS platformiOS platform
iOS platform
 
What Is Theater
What Is TheaterWhat Is Theater
What Is Theater
 
Theatre styles
Theatre styles Theatre styles
Theatre styles
 
Introduction to drama, theater, and culture
Introduction to drama, theater, and cultureIntroduction to drama, theater, and culture
Introduction to drama, theater, and culture
 
Theatre
TheatreTheatre
Theatre
 
SAMPLE BUSINESS PLAN
SAMPLE BUSINESS PLANSAMPLE BUSINESS PLAN
SAMPLE BUSINESS PLAN
 
Sample business plan presentation(2)
Sample business plan presentation(2)Sample business plan presentation(2)
Sample business plan presentation(2)
 
Business plan_Restaurant
Business plan_RestaurantBusiness plan_Restaurant
Business plan_Restaurant
 
Sample Business Plan Presentation
Sample Business Plan PresentationSample Business Plan Presentation
Sample Business Plan Presentation
 
Business plan coffee shop
Business plan coffee shopBusiness plan coffee shop
Business plan coffee shop
 
Business plan for fast food restaurant
Business plan for fast food restaurantBusiness plan for fast food restaurant
Business plan for fast food restaurant
 
Restaurant Business Plan Presentation
Restaurant Business Plan PresentationRestaurant Business Plan Presentation
Restaurant Business Plan Presentation
 
Sample Business Proposal Presentation
Sample Business Proposal PresentationSample Business Proposal Presentation
Sample Business Proposal Presentation
 
Business Plan
Business PlanBusiness Plan
Business Plan
 
Business Plan Powerpoint 1
Business Plan Powerpoint 1Business Plan Powerpoint 1
Business Plan Powerpoint 1
 

Similar a Apple iOS Report

1572143634865065972041229-140802014601-phpapp01 (1).pptx
1572143634865065972041229-140802014601-phpapp01 (1).pptx1572143634865065972041229-140802014601-phpapp01 (1).pptx
1572143634865065972041229-140802014601-phpapp01 (1).pptx
DeepakPanchal65
 
mobile technologies iOS
mobile technologies iOSmobile technologies iOS
mobile technologies iOS
chrisiegers
 

Similar a Apple iOS Report (20)

I phone apps developments interview
I phone apps developments interviewI phone apps developments interview
I phone apps developments interview
 
Ios - Introduction to swift programming
Ios - Introduction to swift programmingIos - Introduction to swift programming
Ios - Introduction to swift programming
 
Lviv MDDay 2014. Антон Голуб “Pebble and i os – notify me fully!”
Lviv MDDay 2014. Антон Голуб “Pebble and i os – notify me fully!”Lviv MDDay 2014. Антон Голуб “Pebble and i os – notify me fully!”
Lviv MDDay 2014. Антон Голуб “Pebble and i os – notify me fully!”
 
MSR iOS Tranining
MSR iOS TraniningMSR iOS Tranining
MSR iOS Tranining
 
iOS
iOSiOS
iOS
 
201010 SPLASH Tutorial
201010 SPLASH Tutorial201010 SPLASH Tutorial
201010 SPLASH Tutorial
 
iPhone Programming
iPhone ProgrammingiPhone Programming
iPhone Programming
 
Layer architecture of ios (1)
Layer architecture of ios (1)Layer architecture of ios (1)
Layer architecture of ios (1)
 
Anuradha_Resume_2016
Anuradha_Resume_2016Anuradha_Resume_2016
Anuradha_Resume_2016
 
200910 - iPhone at OOPSLA
200910 - iPhone at OOPSLA200910 - iPhone at OOPSLA
200910 - iPhone at OOPSLA
 
IOS Project By Soumyadeep
IOS Project By SoumyadeepIOS Project By Soumyadeep
IOS Project By Soumyadeep
 
Ios tutorial
Ios tutorialIos tutorial
Ios tutorial
 
I os
I osI os
I os
 
iOS Developer Interview Questions
iOS Developer Interview QuestionsiOS Developer Interview Questions
iOS Developer Interview Questions
 
iOS App Development Presented by Edifyself
iOS App Development Presented by EdifyselfiOS App Development Presented by Edifyself
iOS App Development Presented by Edifyself
 
iPad as a pedagogical device
iPad as a pedagogical deviceiPad as a pedagogical device
iPad as a pedagogical device
 
1572143634865065972041229-140802014601-phpapp01 (1).pptx
1572143634865065972041229-140802014601-phpapp01 (1).pptx1572143634865065972041229-140802014601-phpapp01 (1).pptx
1572143634865065972041229-140802014601-phpapp01 (1).pptx
 
ios operationg system
ios operationg systemios operationg system
ios operationg system
 
mobile technologies iOS
mobile technologies iOSmobile technologies iOS
mobile technologies iOS
 
Step-by-Step Guide to Developing a Successful iOS App.pdf
Step-by-Step Guide to Developing a Successful iOS App.pdfStep-by-Step Guide to Developing a Successful iOS App.pdf
Step-by-Step Guide to Developing a Successful iOS App.pdf
 

Último

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Último (20)

This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 

Apple iOS Report

  • 1. Visvesvaraya Technological University (VTU) Belgaum Technical Seminar Report on Apple iOS Chethan H A (4GH08CS010) Under the Guidance of Mr.Annaiah.HB.E.,M.T ech., Assistant Professor Department of CS&E, GEC,Hassan Department of Computer Science & Engineering Government Engineering College,Hassan-573201 June 2012
  • 2. Government Engineering College, Hassan 573 201 Department of Computer Science and Engineering Certificate This is to certify that the work entitled “Apple iOS” is a bonafide work carried out by Chethan H A (4GH08CS010) in partial fulfillment of the award of the degree of Bachelor of Engineering in Computer Science & Engineering of Visvesvaraya Technological Uni- versity, Belgaum, during the year 2012. It is certified that all corrections / suggestions indicated during CIE have been incorporated in the report. The seminar report has been approved as it satisfies the academic requirements in respect of the technical seminar prescribed for the Bachelor of Engineering Degree. Guide Cordinator Head of the Department Mr.Annaiah.HB.E,M.T ech. Mr.Chethan K CB.E,M.T ech. Dr.K.C.RavishankarB.E,M.T ech,P h.D AssistentP rof essor AssistentP rof f esor P rof essorandHead Dept.of CS&E Dept.of CS&E Dept.of CS&E GEC, Hassan − 573201 GEC, Hassan − 573201 GEC, Hassan − 573201 Date : Place : Hassan
  • 3. Acknowledgement “Acknowledgement - At the outset I express my most sincere grateful thanks to my Guide Mr.Annaiah.H, Assistant Professor , Department of CS&E, for his continous support and advice not only during the course of my seminar but also during the period of our stay in GECH. I would like to thank our seminar co-ordinator Mr.Chethan.K.C, Assis- tant professor,Department of CS&E for his kind support. I express my gratitude to Dr.K.C.Ravishankar, Professor and Head, Department of CS&E for his encouragement and support throughout my work. I wish to express my thanks to beloved Dr.Karisiddappa, Principal for encouragement throughout my studies. Finally I express my gratitude to all teaching and non-teaching staff of Dept. of CSE, Fellow classmates and my parents for their timely support and sug- gestions. Chethan H A 4GH08CS010 i
  • 4. Table of Contents Table of Contents ii Abstract iii 1 Introduction 1 2 About iOS 2 3 The iOS Architecture 4 3.1 The Core OS layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 3.2 The core services layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 3.3 The media layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 3.4 The Cocoa Touch layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 4 iOS Development 9 4.1 Xcode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 4.2 Intruments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 5 iOS versions 12 5.1 Features of iOS 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 6 Conclusion 17 References 18 ii
  • 5. Abstract iOS is Apple’s mobile operating system developed originally for the iPhone, and later deployed on the iPod Touch and iPad as well. It is derived from Mac OS X, with which it shares the Darwin foundation, and is therefore a Unix-like operating system, by nature. In iOS, there are four abstraction layers: the Core OS layer, the Core Services layer, the Media layer, and the Cocoa Touch layer. The operating system uses roughly 500 megabytes of the device’s storage. Apple does not permit the OS to run on third-party hardware. As of June 7, 2010, Apple’s App Store contained more than 225,000 iOS applications, which had collectively been downloaded more than five billion times. The user interface of iOS is based on the concept of direct manipulation, using multi-touch gestures. Interface control elements consist of sliders, switches, and buttons. The response to user input is immediate and provides a fluid interface. Interaction with the OS includes gestures such as swiping, tapping, pinching, and reverse pinching. iii
  • 6. Chapter 1 Introduction iOS is the operating system at the heart of iPhone, iPod touch, and iPad devices.The iOS platform was built using the knowledge that went into the creation of Mac OS X, and many of the tools and technologies used for development on the platform have their roots in Mac OS X as well. Despite its similarities to Mac OS X, iOS does not require ex- perience developing Mac OS X applications. The iOS Software Development Kit (SDK) provides everything you need to get started creating iOS applications. The iPhone SDK contains the code, information, and tools you need to develop, test, run, debug, and tune applications for iOS. The Xcode tools provide the basic editing, compilation, and debugging environment for your code. Xcode also provides the launching point for testing your applications on an iOS device, and in iPhone Simulatora platform that mimics the basic iOS environment but runs on your local Macintosh computer. iOS comprises the operating system and technologies that you use to run applications natively on devices, such as iPad, iPhone, and iPod touch. Although it shares a common heritage and many underlying technologies with Mac OS X, iOS was designed to meet the needs of a mobile environment, where users needs are slightly different. If you have previously developed applications for Mac OS X, you will find many familiar technologies, but youll also find technologies that are available only on iOS, such as the Multi-Touch interface and accelerometer support. 1
  • 7. Chapter 2 About iOS iOS is was developed by Apple Inc. in june 2007 for iPhone so it is also called iPhone OS.It is programmed in C,C++ and Objective C and derived from the Mac OS X.The Mac OS X is series of Operating System developed by Apple Inc. and it supports Graph- ical user Interfaces(GUI) and therefore a Unix like OS. The kernel type is Hybrid kernel architecture and hybrid kernel architecture is com- bination of microkernel and monolithic kernel.iOS is currently supported by 34 languages worldwide.The Latest Stable release is version 5.0.1 (Build 9A406) for iPhone 4 S and The Latest Stable release is version 5.0.1(Build 9A405) for iPhone,iPhone 3G,iPhone 3GS ,iPhone 4,iPod Touch and iPad and The Latest unstable release is version 5.1(Build 9B5141a).The defaultuser interface of iOS is Cocoa Touch(Multi-touch,GUI). Initially, third-party applications were not supported. Steve Jobs argued that developers could build web applications that ”would behave like native apps on the iPhone”.On October 17, 2007, Apple announced that a native SDK was under development and that they planned to put it ”in developers’ hands in February”. On March 6, 2008, Apple released the firstbeta, along with a new name for the operating system: iPhone OS. Brisk sales of Apple mobile devices kindled interest in the SDK. Multitasking: The biggest and most obvious update to iOS 4 is the ability for third-party applications to ”multitask”that is, you don’t have to terminate them in order to do something else in another app. This is functionality that has been requested of Apple since the launch of the original iPhone in 2007, and it has been a long time coming. (Only the iPhone 4, iPhone 3GS, and third-gen iPod touch get multitasking.) 2
  • 8. Apple iOS Chapter 2 Apple’s own apps have always been able to truly multitask (you can get iCal alerts while playing a game, for example, or listen to music from the iPod app while reading a webpage), but third parties can now take advantage of alimited setof multitasking capa- bilities in order to make things easier on the user. Apple claims that it only allows for certain functionality so that the OS can continue to preserve battery life and performance in a sane manner. So, what exactlycanyou do with this new feature? Really, the answer isn’t so much that apps will be ”multitasking,” but rather that they’ll be ”doing a few things in the background” Audio: you can now listen to streaming music from apps, like Pandora or newscasts through the NPR app, while doing other activities on your phone. Previously, you would have to quit out of the app (and therefore stop your music stream) if you wanted to respond to an SMS or read your e-mail, and now that’s no longer the case. VoIP: similarly, you can carry on Voice Over IP calls on services like Skype without having to quit the app if you need to perform other tasks. Location: apps that need to poll your location, such as GPS and direction apps, will be able to do so in the background. No longer will you need to keep the app in the foreground just so it can keep track of where you are. Local notifications: third-party apps no longer have to rely solely on push notifica- tions if they want to alert you of something on your phone. Complete tasks: if you start a task in an application and then switch to another one (such as downloading a new map in your favorite game), it can now complete the task in the background instead of forcing you to sit there and wait on it. Fast app switching: this is basically ”pausing” an app where it is, which allows you to quickly switch away from it and then switch back, picking up where you left off. Dept of CS&E, GEC,Hassan 3
  • 9. Chapter 3 The iOS Architecture The iOS architecture is similar to the basic architecture found in Mac OS X. At the highest level, iOS acts as an intermediary between the underlying hardware and the applications that appear on the screen.The applications you create rarely talk to the un- derlying hardware directly. Instead, applications of the iOS Architecture communicate with the hardware through a set of well-defined system interfaces that protect your ap- plication from hardware changes. This abstraction makes it easy to write applications that work consistently on devices with different hardware capabilities. The iOS Architecture consists of four main layers namely: The core Operating system The core services layer The medium layer The Cocoa Touch layer 3.1 The Core OS layer This layer contains the low-level features that most other technologies are built upon. Even if you do not use these technologies directly in your applications, they are most likely being used by other frameworks. Accelerate Framework Introduced in iOS 4.0, the Accelerate framework (Accelerate.framework) contains interfaces for performing DSP, linear algebra, and image-processing calculations. The advantage of using this framework over writing your own versions of these interfaces is that they are optimized for all of the hardware configurations present in iOS-based devices. 4
  • 10. Apple iOS Chapter 3 Core Bluetooth -The Core Bluetooth framework (CoreBluetooth.framework) allows developers to interact specifically with Bluetooth Low-Energy (”LE”) accessories. External Accessory Framework -Introduced in iOS 3.0, the External Accessory frame- work (ExternalAccessory.framework) provides support for communicating with hardware accessories attached to an iOS-based device. Accessories can be connected through the 30-pin dock connector of a device or wirelessly using Bluetooth. Security Framework -iOS also provides an explicit Security framework(Security.framework) that you can use to guarantee the security of the data your application manages.This framework provides interfaces for managing certificates, public and private keys, and trust policies. It supports the generation of cryptographically secure pseudorandom num- bers. It also supports the storage of certificates and cryptographic keys in the keychain, which is a secure repository for sensitive user data. The Common Crypto library provides additional support for symmetric encryption, HMAC, and digests. The digests feature provides functions that are essentially compatible with those in the OpenSSL library, which is not available in iOS. 3.2 The core services layer The Core Services layer contains the fundamental system services that all applications use. Even if you do notuse these services directly, many parts of the system are built on top of them.The following sections describe some of the key technologies available in the Core Services layer. iCloud Storage -Introduced in iOS 5, iCloud storage lets your application write user documents and data to a central location and access those items from all of a users com- puters and iOS devices. There are two ways that applications can take advantage of iCloud storage, each of which has a different intended usage: 1. iCloud document storageUse this feature to store user documents and data in the users iCloud account. 2. iCloud key-value data storageUse this feature to share small amounts of data among instances of your application. Accounts Framework -Introduced in iOS 5, the Accounts framework (Accounts.framework) Dept of CS&E, GEC,Hassan 5
  • 11. Apple iOS Chapter 3 provides a single sign-on model for certain user accounts.Single sign-on improves the user experience, because applications no longer need to prompt a user separately for login information related to an account. Address Book Framework -The Address Book framework (AddressBook.framework) provides programmatic access to the contacts stored on a users device. Core Data Framework -Introduced in iOS 3.0, the Core Data framework (Core- Data.framework) is a technology for managing the data model of a Model-View-Controller application. 3.3 The media layer The Media layer contains the graphics, audio, and video technologies geared toward cre- ating the best multimedia experience available on a mobile device. Graphics Technologies High-quality graphics are an important part of all iOS applications. Core Graphics (also known as Quartz) handles native 2D vector- and image-based rendering. Core Animation (part of the Quartz Core framework) provides advanced support for animating views and other content. Core Image provides advanced support for manipulating video and still images. Audio Technologies The audio technologies available in iOS are designed to help you provide a rich audio experience for your users. This experience includes the ability to play high-quality audio, record high-quality audio, and trigger the vibration feature on certain devices.The audio technologies in iOS support the following audio formats:AAC,Apple Lossless (ALAC), A- law,IMA/ADPCM (IMA4),Linear PCM, -law,DVI/Intel IMA ADPCM,Microsoft GSM 6.10. Video Technologies Whether you are playing movie files from your application or streaming them from the network, iOS provides several technologies to play your video-based content. On devices with the appropriate video hardware, you can also use these technologies to capture video and incorporate it into your application. The video technologies in iOS support the playback of movie files with the .mov, .mp4, Dept of CS&E, GEC,Hassan 6
  • 12. Apple iOS Chapter 3 .m4v, and .3gp filename extensions and using the following compression standards: 1. H.264 video, up to 1.5 Mbps, 640 by 480 pixels,Low-Complexity version of the H.264 Baseline Profile with AAC-LC audio up to 160 Kbps, 48 kHz, stereo audio in .m4v, .mp4, and .mov file formats 2. H.264 video, up to 768 Kbps, 320 by 240 pixels, Baseline Profile up to Level 1.3 with AAC-LC audio up to 160 Kbps, 48 kHz, stereo audio in .m4v, .mp4, and .mov file formats 3. MPEG-4 video, up to 2.5 Mbps, 640 by 480 pixels, Simple Profile with AAC-LC audio up to 160 Kbps, 48 kHz, stereo audio in .m4v, .mp4, and .mov file formats AirPlay AirPlay is a technology that lets your application stream audio to Apple TV and to third- party AirPlay speakers and receivers. AirPlay support is built in to the AV Foundation framework and the Core Audio family of frameworks. Any audio content you play using these frameworks is automatically made eligible for AirPlay distribution. Once the user chooses to play your audio using AirPlay, it is routed automatically by the system. 3.3.1 Media Layer Frameworks Core Graphics Framework -The Core Graphics framework (CoreGraphics.framework) contains the interfaces for the Quartz 2D drawing API. Quartz is the same advanced, vector-based drawing engine that is used in Mac OS X. It provides support for path-based drawing, anti-aliased rendering, gradients, images, colors, coordinate-space transforma- tions, and PDF document creation, display, and parsing. Core Image Framework -Introduced in iOS 5, the Core Image framework (CoreIm- age.framework) provides a powerful set of built-in filters for manipulating video and still images. 3.4 The Cocoa Touch layer The Cocoa Touch layer contains the key frameworks for building iOS applications. This layer defines the basic application infrastructure and support for key technologies such as multitasking, touch-based input, push notifications, and many high-level system services. High level features such as storyboards,Document support,Multitasking,Printing,Data Dept of CS&E, GEC,Hassan 7
  • 13. Apple iOS Chapter 3 Protection,Apple push notifications service and File sharing are supported by Cocoa touch layer. There are so many Cocoa touch layer frameworks are there.They are: Address Book UI Framework -The Address Book UI framework (AddressBookUI.framework) is an Objective-C programming interface that you use to display standard system inter- faces for creating new contacts and for editing and selecting existing contacts. Game Kit Framework -Introduced in iOS 3.0, the Game Kit framework (GameKit.framework) lets you add peer-to-peer network capabilities to your applications. Specifically, this framework provides support for peer-to-peer connectivity and in-game voice features. Twitter Framework -Introduced in iOS 5, the Twitter framework (Twitter.framework) provides support for sending Twitter requests on behalf of the user and for composing and sending tweets.The Twitter framework also works in conjunction with the Accounts framework (Accounts.framework) to access the users account. Map Kit Framework -Introduced in iOS 3.0, the Map Kit framework (MapKit.framework) provides a scrollable map interface that you can integrate into your existing view hierar- chies. You can use this map to provide directions or highlight points of interest. Appli- cations can programmatically set attributes of the map or let the user navigate the map freely. You can also annotate the map with custom images or content. iOSArchitectureLayers Dept of CS&E, GEC,Hassan 8
  • 14. Chapter 4 iOS Development Mac OS X applications cannot be copied to and run on an iOS device. The applica- tions must be written and compiled specifically for iOS and the ARM architecture. The Safari web browser supports web applications as with other web browsers. Authorized third-party native applications are available for devices running iOS 2.0 and later through Apple’s App Store. iOS is the operating system that runs on iPhone, iPod touch, and iPad devices. This operating system manages the device hardware and provides the technologies required to implement native applications. The operating system also ships with various system applications, such as Phone, Mail, and Safari, that provide standard system services to the user. Software Development Kit(SDK) The iOS SDK contains the tools and interfaces needed to develop, install, run, and test native applications. Native applications are built using the iOS system frameworks and Objective-C language and run directly on iOS. Unlike web applications, native applica- tions are installed physically on a device and are therefore always available to the user, even when the device is in Airplane mode. They reside next to other system applications and both the application and any user data is synced to the users computer through iTunes. On October 17, 2007, in an open letter posted to Apple’s ”Hot News” weblog, Steve Jobs announced that a software development kit (SDK) would be made available to third-party developers in February 2008. The SDK was released on March 6, 2008, and allows developers to make applications for the iPhone and iPod Touch, as well as test 9
  • 15. Apple iOS Chapter 4 them in an ”iPhone simulator”. However, loading an application onto the devices is only possible after paying an iPhone Developer Program fee. Since the release of Xcode 3.1, Xcode is the development environment for the iPhone SDK. iPhone applications, like iOS and Mac OS X, are written in Objective-C. Developers are able to set any price above a set minimum for their applications to be distributed through the App Store, of which they will receive a 70 percent share. Alter- nately, they may opt to release the application for free and need not pay any costs to release or distribute the application except for the membership fee. Some have criticized the mandatory Developer Agreement’s refund policy, which says that if someone purchases an app from the App Store, 30 percent of the price goes to Apple, and 70 percent to the developer. If a refund is granted to the customer (at Apple’s discretion), the 30 percent is returned to the customer from Apple, and 70 percent from the developer; however, Apple can then take another 30 percent of the cost from the developer to make up for Apple’s loss. 4.1 Xcode The focus of your development experiences is the Xcode application. Xcode is an inte- grated development environment (IDE) that provides all of the tools you need to create and manage your iOS projects and source files, assemble your user interface, build your code into an executable, and run and debug your code either in iOS Simulator or on a device. Xcode incorporates a number of features to make developing iOS applications easier, including the following: 1. A project management system for defining software products 2. A code-editing environment that includes features such as syntax coloring, code com- pletion, and symbol indexing 3. An integrated editor for creating storyboard and nib files 4. An advanced documentation viewer for viewing and searching Apple documentation 5. A context-sensitive inspector for viewing information about selected code symbols 6. An advanced build system with dependency checking and build rule evaluation 7. LLVM and Clang support for C, C++, and Objective-C 8. GCC compilers supporting C, C++, Objective-C, Objective-C++, and other lan- guages 9. A static analyzer for validating the behavior of your app and identifying potential problems. Dept of CS&E, GEC,Hassan 10
  • 16. Apple iOS Chapter 4 10. Integrated source-level debugging using GDB 11. Support for integrated source-code management 12. Support for DWARF and Stabs debugging information (DWARF debugging infor- mation is generated by default for all new projects) 13.Support for managing iOS development devices To create a new iOS application, you start by creating a new project in Xcode. A project manages all of the information associated with your application, including the source files, build settings, and rules needed to put all of the pieces together. The heart of every Xcode project is the project window. This window provides quick access to all of the key elements of your application. In the Groups Files list, you manage the files in your project, including the source files and build targets that are created from those source files. In the toolbar, you access commonly used tools and commands. We can then configure the workspace to display the panes you need for editing, navigating your project content, debugging, and obtaining additional information about items. 4.2 Intruments To ensure that you deliver the best user experience for your software, the Instruments environment lets you analyze the performance of your iOS applications while running in Simulator or on a device. Instruments gathers data from your running application and presents that data in a graphical display called the timeline view . We can gather data about your applications memory usage, disk activity, network activ- ity, and graphics performance. The timeline view can display all the types of information side by side, letting you correlate the overall behavior of your application, not just the behavior in one specific area. For example, the Instruments window lets you store data from multiple runs so that you can see whether your applications behavior is actually improving or whether it still needs work. You can save the data from these runs in an Instruments document and open them at any time. In addition to providing the timeline view, Instruments provides tools to help you analyze your applications behavior over time. Dept of CS&E, GEC,Hassan 11
  • 17. Chapter 5 iOS versions On June 29, 2007, Apple released the first version of iOS concurrently with the first iPhone. The final 1.x series release was 1.1.5, released shortly before version 2.0.On July 11, 2008 saw the public release of iPhone OS 2.0, with upgrades through version 2.2 made available. iOS 3.0 was released on June 17, 2009. It was updated through (and including) version 3.1.3.The first generation iPod Touch and iPhone have iOS 3.1.3 as their newest available version. The iPad was introduced with 3.2, a version made specifically for the iPad. On June 6, 2011, Apple previewed iOS 5, Apple TV 4.4 beta and the iOS SDK 5 beta along with iCloud beta among other products. This update introduced iMessage chat between devices running iOS 5, a new notification system, Newsstand subscriptions, Twitter integrated into iOS, Reminders app, Enhancements to AirPlay, full integration with iCloud and over 200 new features. iOS 5.0 supports All iPad models, iPhone 3GS, iPhone 4 GSM CDMA, the iPod Touch 3rd 4th generation. Apple concurrently provides the same version of iOS for the comparable model of iPod and iPhone, usually devices released in the same calendar year. iPhone users receive all software updates for free, while iPod Touch users paid for the 2.0 and 3.0 major software updates. As of iOS 4.0, Apple no longer charges for iPod Touch updates. • iOS 1.x: initial OS • iOS 2.x: second major OS • iOS 3.x: third major OS • iOS 4.x: fourth major OS • iOS 5.x: fifth major OS 12
  • 18. Apple iOS Chapter 5 The Latest Stable release is version 5.0.1 (Build 9A406) for iPhone 4 S and the Latest Stable release is version 5.0.1(Build 9A405) for iPhone,iPhone 3G,iPhone 3GS ,iPhone 4,iPod Touch and iPad and the Latest unstable release is version 5.1(Build 9B5141a) 5.1 Features of iOS 5 iMessages/messages: Messaging between all iOS devices running iOS 5 through Wi-Fi or 3G. Allows to send text, photos, videos, contacts, and locations. All iMes- sages and conversations will be synced between all iOS devices linked under a single Apple ID. You can start a conversation on one device and continue it on another and Can message between multiple people simultaneously (group messaging). Music: iPod app now split into Music and Videos (iPhone and iPad only). Video podcasts can only be found in the Videos app. Ability to play content while the device is synchronizing with iTunes. Ability to delete songs from device (by swiping over the corresponding song). Tap and hold on a song to view extended song information. Long names scrolling in now playing. Mail: Rich text formatting (bold, italics and underline). Indentation control. Ability to mark multiple mail items as read. Ability to flag emails. Draggable mail address in the recipients field. Alert if the subject line is blank. Search now includes body of messages. Delete mails while in Airplane mode. Safari: Safari Reader: On certain web articles, a new ’Reader’ icon will appear in the ad- dress bar which will display a new window sheet over the current page sans any ads or clutter. Prior or following pages in the article normally needed to open a new Dept of CS&E, GEC,Hassan 13
  • 19. Apple iOS Chapter 5 link will show up uniformly, separated by only a page break and ability to change font size in reader mode. iCloud: iTunes, iBooks (books and progress), App Store, Photo, Contacts, Calendar, Notes, Reminders, Mail, Safari bookmarks and Reading List items, device settings, app data, iWork and backup data saved in iCloud and automatically or manually down- loaded to all linked devices (iOS and Mac/Windows PCs. YouTube: Ability to play 480p/720p videos over 3G (iPhone only). Scrolling titles for YouTube videos. iTunes/App Store: iTunes Tone Store. New Purchased History section. Genius support for finding songs and apps similar to ones users have purchased previously. Ability to completely disable in-App purchases. iTunes password prompt. Game Center: Photos for friends. Ability to make your Profile public or private. Points in Game Center: shows you how many points you have on the home screen of Game Center. Sort and View friends on the basis of Points. Friend Recommendations. Games can be purchased from within Game Center. Keyboard: Ability to create keyboard shortcuts (autotext) to replace custom phrases. By de- fault includes omw which expands to On my way!. Emoji keyboard is no longer requires an app to enable it. Define your own words in Offline Dictionary. Dept of CS&E, GEC,Hassan 14
  • 20. Apple iOS Chapter 5 Photos: Built-in basic photo editing: crop, red-eye, auto-enhance and rotate photos. Ability to create and edit local photo albums folders (only those that aren’t synced with iTunes). Ability to sync pictures taken on one iOS device automatically with other iOS 5 devices using Photo Stream. Ability to select all when adding pictures to an album. Slight re-design for video time-line under Photos app. Maps: Print maps. Alternate routes. Traffic. AirPlay mirroring: Ability to connect with Airplay to an Apple TV, display on iOS device also seen on TV. Videos Ability to play 1080p content. 5.1.1 iOS 5.x: battery, Wi-Fi, SIM card, echo bugs and unknown data usage Apple has confirmed that several battery life bugs are negatively affecting battery life in iOS 5.They attempted to fix these bugs with iOS 5.0.1 but unfortunately the problem still remains.The launch of the iOS 5 update on October 12, 2011 (including iOS 5.0.1 released on November 10, 2011) led many users to report a major bug causing the device to lose Wi-Fi access. As of January 17, 2012, this problem remained unresolved.Some users of the iPhone 4S and iPad 1 reported issues with the SIM card in the initial release of iOS 5, and even though Apple attempted to fix these issues in version 5.0.1 build 9A406 (for iPhone 4S only), they still remain. Some users of the iPhone 4S/4 reported issues with having echo problems during phone call in the initial release of iOS 5, which causes echos to appear randomly during phone calls made through earphones. It has also been reported by many users that there is an issue with unknown data usage over 3G data generally reported in the early morning or late evening.It is still unclear what could have caused the phone to send this data over 3G even when the phone could have used wifi to do so. It is also not clear what this data might be. And further it is not Dept of CS&E, GEC,Hassan 15
  • 21. Apple iOS Chapter 5 clear who should be responsible for this issue: Apple, carrier or both. The first report came out as early as Feb 2010 and this issue appears to only affect iPhone users within USA and latterly the UK. Whilst restricting the use of notifications appeared to reduce the problem, it did not eliminate it and many users still could not seem to find a solution as of Feb 2012. 5.1.2 List of iOS Devices The devices include the iPhone multimedia smartphone, the iPod touch, which is similar to the iPhone but has no cell phone hardware, and the iPad tablet computer. All three devices function as digital audio and portable media players and Internet clients. The Apple TV, which also runs iOS, is a set-top box for streaming local media to a con- nected television set, and has no screen of its own. The operating system on iOS devices can be updated through iTunes, or, on iOS 5 or later, directly on the device. A new version of iOS tends to be released once a year, and is normally free, although iPod touch users were formerly required to pay a fee. Apple upgrades its products’ hardware periodically. There have been five generations of iPhone, four of iPod touch, and two of iPad. Older models of iPod touch are available at retailers at a reduced price but are no longer available on the Apple Store iOSDevices Devices.jpg Dept of CS&E, GEC,Hassan 16
  • 22. Chapter 6 Conclusion The objective of the seminar report was to study and enhance our knowledge about Ap- ple iOS, mobile operating system. We have learnt about the new features of the iOS 5 operating system, whats new in it, how is it different from previous versions of iOS, what the technicality behind the iOS 5 is and some more information about it. So we have learnt about the layers of iOS technology viz. core os, core services, media and cocoa touch. We have studied about some aspects of the iOS 5 that will help us in developing the applications for iPhone, via this report. Hence we are now acquainted with iOS operating system for iPhone. We now know its features and technicality. Despite the fact that all the information regarding iOS cannot be bound in this re- port, I have tried to cover almost all points that made our study of iOS 5 worthy.We have learnt many things about the iOS 5, which we can implement on our own with just a little effort. Hence our objective has been achieved through this report. 17
  • 23. References [1] iOS-http://en.wikipedia.org/wiki/IOS [2] Mobile Operating System-http://en.wikipedia.org/wiki/Mobile_operating_ system [3] Mac OS X-http://en.wikipedia.org/wiki/Mac_OS_X [4] iOS Versions-http://en.wikipedia.org/wiki/IOS_version_history [5] Hybrid Kernel-en.wikipedia.org/wiki/Hybrid_kernel [6] iOS Devices -http://en.wikipedia.org/wiki/List_of_iOS_devices 18