The broadcaster broadcasts like “Hey,I am here, and this is my ID”, while the receiver receives these Bluetooth radio packets and does whatever it needs to do.
Beacons are messages sent by broadcasting devices that are detected and processed by receiver devices like a mobile app running on iOS. These data are considered beacons as well, depending on how you name things.
Beacons are used by apps to trigger events and call actions, allowing users to connecting the physical and digital worlds via simple notifications.
An iBeacon transmitter is a powered device implementing BLE in Bluetooth 4.0 which was first introduced to the iPhone 4S and iPad 3 and every iOS and OSX device since mid-2012
Applications:
1)Used to enhance customer experience. Stores can identify valuable customers as soon as they get in.
1) You can restrict access to certain applications in a given area.
2) Parents can keep track of their child at school.
3) Track your personal belongings. For e.g. you will get to know when the distance between you and the bike is increasing while you at a bar.
4)Helps for self guided tours in Museums and educational excursions.
5)In hotels it’s applied for finding a room and indoor navigation.
Read:
Most Important iPhone interview Questions and Answers
Top iOS interview Questions And Answers Collection
iOS Interview Questions And Answers For 1-2 years Experienced Candidates.
2.What is Bitcode?
Bitcode is an intermediate representation of a compiled program allows Apple to re-compile your app uploaded to iTunes Connect for a new architecture, i.e if a new device with a new architecture comes out, without submitting a new binary that includes the new architecture.
Apps you upload to iTunes Connect that contain bitcode will be compiled and linked on the store.
Is it compulsory to enable Bit Code in Xcode?
For iOS apps, bitcode is the default, but optional. If you provide bitcode, all apps and frameworks in the app bundle need to include bitcode.
For watchOS and tvOS apps, bitcode is required.
Read:
Core Data Interview Questions and Answers
3.What is App Thinning in iOS?
It is a ultimate way to optimise the installation of iOS ,tvOS and watch OS apps by
The store and operating system optimize the installation of iOS, tvOS, and watchOS apps by adjusting app delivery in accordance with the available disk space of a particular device , with minimal footprint.
With App thinning technology,your app will occupy minimum disk space and accommodate future updates applied by apple.Your apps will be downloaded faster and provide more space for other apps and of course better user experience.
Read:
some key concepts for an iPhone developer to learn as a fresher
What are best practices that you use when developing projects in Objective-C ?
4.What is Slicing in iOS?
App slicing is introduced by apple in iOS 9.0.2 to allow users download only those files required by the device.
Example:
you don't need the 3x iPhone 6 Plus assets if you're running a 4-inch model.It creates and delivers variants of the app bundle for different target devices.
A variant contains only the executable architecture and resources specific to target device. You continue to develop and upload full versions of your app to iTunes Connect.
The store will create and deliver different variants based on the devices your app supports. Image resources are sliced according to their resolution and device family.
GPU resources are sliced according to device capabilities. When the user installs an app, a variant for the user’s device is downloaded and installed.
Read:
How to Integrate Google Signin SDK in iOS Application using Swift
5.What is ODRs or On-Demand Resources in iOS?
To fully comprehend and app thinning, it is imperative that you also understand On Demand Resources (ODR). On demand resources are files that can be downloaded after the app’s first installation.
On-demand resources are resources ,such as images and sounds—that you can tag with keywords and request in groups, by tag. The store hosts the resources on Apple servers and manages the downloads for you.On-demand resources enable faster downloads and smaller app sizes, improving the first-time launch experience.
Example:
Specific levels of a game (and these levels’ associated content) could be downloaded only when the player has unlocked them.
Further, earlier levels that the player has not engaged with after a certain set time can be removed to save storage on the device.
Enabling on demand resources involves changing the “Enable On Demand Resources” boolean to “Yes” in Xcode build settings .
Note:
The operating system purges on-demand resources when they are no longer needed and disk space is low.
It supports tvOS and WatchOS only.
Read:
Top iOS interview Questions And Answers Collection