Top 20 iOS 14 features which you cannot ignore

They say patience is a virtue, and the ones who are patient do get rewarded. It stands to be true for many of the iOS aficionados, if not for all. The latest iOS 14 release has unveiled many features that stand out and command attention. Here is a list of the top 20 iOS 14 features that can enhance your mobile experience.

  1. App Clips – The feature allows the user to use micro parts of the app, meaning performing a small task under 10MB without downloading the complete app. An example is purchasing coffee from a coffee shop (Without downloading the entire app) by signing in with Apple/Apple Pay (So, there is no need to create a new account) and get the rewards into the account. The user can download the app if the performance meets the user’s expectations in App Clip.
  2. Picture-in-picture – From this version of iOS 14, all iPhones have picture-in-picture support as part of multitasking. Previously this feature was available only on iPad, not on iPhone.
  3. App Library – Customize the home screen by organizing the folders by categories like Sports, Health & Fitness, Business, Travel, etc., to maintain apps in a single home screen instead of using multiple home screens with swipe gesture navigation.
  4. Widgets Enhancement – A new widget like “Today View” has many more information accommodation facilities and draggable onto the home screen with different sizes as per user’s preferences. A “Smart Stack Widget” is used to organize and swipe through the recent and liked widget.
  5. Siri Interface – Siri interface will appear like a blob at the bottom of the screen instead of occupying the whole screen for Siri functionality and shows the results as rich notifications at the top of the screen.
  6. Message Stack – User can pin nine message chats as favorites, and those pinned conversations will appear in the “Message Stack,” which is relatively easier for fast access to messages.
  7. FaceTime has performance increments, and Memoji has updated with different icons, Augmented Reality and Machine Learning has new efficient tools for better performance.
  8. Keyboard Tweaks – Emoji picker has a search bar to pick out a specific emoji faster.
  9. Camera Improvements
    • Quick Take Video feature is there in all iPhones by the press and holds the shutter button under photo mode to switch into video mode
    • Camera App can change video resolution, frame rate directly instead of using Settings
    • Picture quality and its performance has been enhanced
      Guidance Indicator will show the status of camera shot
  10. Maps Improvements – Maps has new features as well
    • The “Cycling Directions” feature has been added in Maps for the areas such as New York, Los Angeles, San Francisco, Shanghai, and Beijing. Later on, the feature will expand to other areas in upcoming versions
    • “EV Routes” feature has been added to denote the “Electric Vehicle Charging Stops” for charging “Electric Vehicles” along the traveling route, initially supported car companies are Ford and BMW
    • “License Plate Access” feature will show whether that particular vehicle has the privilege to travel for that specific route or not
  11. Default Email and Browsers Customization – User can set their preferred third-party email and browsers as their default email and browser
  12. Translate App – Apple supports the default “Translate App” in landscape mode by splitting the screen in a 50:50 ratio. Hold on the microphone button listens to input the word/sentence to translate in the left pane. Once the microphone button is released immediately, the translated output will get displayed on the right pane. Users can select languages for translation. Currently, it supports only 11 languages.
  13. Privacy Enhancements – iOS 14 majorly concentrated on “Privacy Policy” for data security as follows
    • Permission added to access approximate location instead of sharing the exact location
    • Permission added to access only specific photo instead of providing access to the entire gallery
    • If the Microphone is running, then the status will be indicated on the status bar with a little amber dot
    • If the Camera is running, then the status will be displayed on the status bar with a little green dot, which is easy to track the Background process of an app for security purposes
    • Mandatory addition of “Privacy Policy” in App Store pages to publish the app to show the data collection on the app from the users, which maintains data security
  14. Apple Arcade – Provides quick access to recently played games, and “Game Center Friends Preferred Games” will be stacked here for gaming.
  15. CarPlay – Provides new EV Routing in Maps, Parking, and Food Ordering apps under categories, new development tools have been introduced to integrate audio, text messages, and VoIP apps.
  16. CarKeys – Initiated better-digitized car keys via iPhones with Tesla Manufacturers.
  17. Safari Enhancements
    • Safari can access Privacy Reports of websites
    • Monitors “Saved Passwords” to prevent security breaches
    • Translate the entire webpage by using Apple default Translate App
  18. UIWebView – Deprecated and suggested to use WKWebView. UIWebView usage in the app will block the app publish from December 2020.
  19. Daylight Saving Time Issue – Under iPhone Settings in iOS14, the Automatic time setting has an improper time and timezone. So, suggested setting the time and timezone manually under Settings. Then either restarts the phone (or) Turn ON and Turn OFF Airplane Mode, saving user time to restart the phone. Now, the DST time and timezone issues are fixed.
  20. A new cell registration technique has been introduced where a new configuration API will encapsulate the cell’s contents and background view properties. It works based on “States” to set and update data into the cell. So, the user doesn’t have to use “Cell Identifiers” to register the cell in UICollectionView.

Are you looking at developing a mobile application loaded with the latest features or exploring the best mobility technology platform to create an app that meets your immediate business needs? Explore how our mobility experts can help you grow your returns and influence through contemporary mobility solutions.

Keychain – An effective way of securing sensitive information on iOS mobile apps

Mobile devices are a significant propellant for modern-day digital technology. Mobile devices are compact and the quickest mode to establish instant communication, eclipsing long distances. The underlying element that enables this exchange between individuals using their mobile devices is data. It is data exchanged between two or more devices that make communication or any other activity possible.

The digital mobile technology baseline is a vast data collection, stored either locally or remotely, sharing numerous information fields for multiple purposes. Flexible Image Transport System or FITS is a digital file format useful for storing, transmission, and processing data that in common parlance refers to information or data related to people such as photos, audio, video, text formats, travel itineraries, or shopping details. Private data can never be seen in a silo. It has to coexist with privacy policies that ensure optimal data security.

Mobile devices are inevitable in modern life, and securing mobile data is a critical concern in a digitally-driven world for quite. While there is increasing awareness among individuals to safeguard their data, cybercriminals are always on the lookout for loopholes. There are umpteen safeguards in place to thwart cybercrime, but the slightest of negligence can be an invitation to trouble such as phishing or data theft.

This post is a DIY for iOS developers to enable Keychain wrapper to secure small chunks of data on applications and secure services.

Before we get into the nitty-gritty of setting up a keychain wrapper for your iOS app, here’s what Apple has to say about the keychain wrapper API.

‘The keychain services API helps you solve this problem by giving your app a mechanism to store small bits of user data in an encrypted database called a keychain. When you securely remember the password for them, you free the user to choose a complicated one.

Keychain – An effective way of securing sensitive information on iOS mobile apps

Keychain wrapper can be considered to be one of the most secure technologies to store sensitive data, such as passwords, authentication tokens, or session data. Its security stems from the automatic encryption of data that is enabled before the file is stored in the system without the need of building encryption algorithms.

Following are the details on how to use keychain wrapper in mobile application development.

Install SwiftKeychainWrapper framework either by cocoapods or carthage. Sample code for few of the common usages are as follows

Add data value to keychain:
let saveThe Data: Bool = KeychainWrapper.standard.set(“Some String”, forKey: “myKey”)
Retrieve data value from keychain:
let retrieveTheData: String? = KeychainWrapper.standard.string(forKey: “myKey”)
Removedata value from keychain:
let removeTheData: Bool = KeychainWrapper.standard.removeObject(forKey: “myKey”)

Developers can do the following in Keychain Wrapper:

“Service Name” – used to customize bundle identifier value. By default, app Bundle ID is used to store the data in keychain
Data can be shared between applications using keychain by “Access Group”
By default, all items saved to keychain can only be accessed when the device is unlocked. To change this accessibility, an optional withAccessibility param can be set on all requests to select the accessibility level desired
To access the data in keychain in all the different devices used by the users, we can synchronize the data in iCloud
Unlike “User Defaults” – Data stored in Keychain will not get deleted while app cleared from cache (or) uninstalled from the device

Are you looking at developing an iOS application with robust security features? Trigent’s expert developers with decades of experience in iOS app development can help you with end to end development of secure and robust applications. Here’s a solution that was developed with an emphasis on personal data security.

Twitter propels its mobile business using progressive web apps

Pattern of app usage among users – prevailing scenario

The smartphone user base has experienced an exponential boom in the past few years to reach 2.97 billion users worldwide. A recent study notes that an average US adult spends about 3 hours 10 minutes on his phone every day. 90% of mobile time is spent on applications. The increase in smartphone users and their usage pattern indicates that the mobile screen is the more preferred screen than the computer. The usage pattern is also a clear indicator that businesses vying for their customers’ attention must adopt a mobile strategy.

The world of native applications – challenges galore

Though users spend 90 percent of their mobile time on applications, they are quite picky. Users spend 77% of their time on only three apps. What’s more, 96% of that time is spent on their ten favorite apps. The interest in applications makes the mobile application space highly competitive. The chunk of these applications is native applications primarily categorized into Android or iOS apps. Statista 111 thousand applications are released on the Google Play Store every month, making it the most prominent online store for applications. Following toe is the Apple App Store, which has an approx 1.8 million applications available for download. The numbers are proof of the stiff competition applications face to garner interest among users and survive. Besides the stiff competition, many other reasons can sometimes weigh against building a native application. One of the foremost considerations a business looking to upgrade their mobility capabilities the native way has to address is cost followed by compatibility. Native applications are platform-specific as they are developed for a specific platform, either Android or iOS, and can limit your reach to a particular platform user set. Maintenance and upgrades can again have a significant impact on your spending.

A progressive mobile experience – the solution

Progressive Web Apps – PWA has been a boon for businesses trying to make immense in the mobile age. A PWA is built and lives on the web but has capabilities similar to the native apps. The look and feel or how the app behaves is quite similar to native apps.

Progressive web apps provides easy optimization of your website to enable mobile experience for your users irrespective of the platform. It renders a seamless experience across iOS and Android platforms and does not require uploading on any app stores. This also eliminates the need for users to install updates on their phones. Every time there is a new version of the app, it just needs to be deployed on the webserver and is automatically available to the users when they visit next.

Benefits

World-renowned businesses utilizing PWAs are reaping some impressive benefits that demonstrate that PWAs are an excellent proposition for online entities looking to initiate their journey and association with their users on their mobiles. Businesses are looking at an economical solution to make their foray on the mobile or companies already having a native app but looking to expand their reach using a web-based mobile app.

The following compilation lists out the businesses that have adopted progressive web apps to garner impressive gains.

Renowned publisher – Forbes

Renowned Publisher

Headquartered in New York, Forbes is an American business biweekly. Steve Forbes is the editor-in-chief of the widely recognized magazine. Two of its distinct offerings are the Forbes 400 that lines out the richest people in the world and Forbes 500 that lists out the top performing companies in the world. Forbes launched its mobile PWA couple years ago and has experienced a favorable outing.

  • 0.8 seconds average load time, faster loading
  • 100% increase in user engagement
  • 43% more time spent in user session
  • Increase in scroll depth by 3 times
  • Advertisement views up by 20%
  • Average size of web pages reduced from 2MB to 30KB

Social media biggie – Twitter

Microblogging Site

A popular microblogging platform launched in 2006, Twitter is the second most successful social media platform after Facebook. Twitter introduced Twitter Lite, a PWA variant for smartphone users. An optimized version of the app Lite requires less data and storage space and loads quicker even on slower connections. The app occupies 1 Mb space on the device.

  • 65% increase in pages per session
  • 75% increase in tweets
  • 20% decrease in bounce rate
  • Loads quickly on 2G and 3G networks
  • Enables optimal utilization of data by only downloading content that the users clicks on
  • Significantly smaller size of the PWA app at 600 Kb compared to the size of the 23.5 Mb native app

Global coffee house chain – Starbucks

Global Coffee House Chain

Starbucks, an international coffee house chain and a popular brand, wanted to create a web based application. An app with dynamic functionalities and a native feel. They wanted to integrate a user-friendly ordering that could be seamlessly accessed through a url without having to install the app. Starbucks foresightedness to invest in a progressive app provided it with some healthy benefits.

  • High on performance, intuitive app for its users
  • Ability of the app to function across regions with low or inconsistent internet connectivity

There are many other international businesses that have benefited going the PWA route. You can read about them here. Do you know of a business that has benefited immensely using progressive web applications? Share it with us in the comments section.

Five of the Most Popular Databases for Mobile Apps

Mobile OS is growing bigger and bigger and recently Android mobile OS surpassed Windows OS as the most used Operating System in the world. As mobile OS is growing larger and hardware as powerful as any normal computing device, data computation from mobiles is also increasing.

The database is the most common way of storing and managing data. For quite some time now,  databases are handled on server-side or cloud and mobile devices only communicate with them through the network. However, to make applications more responsive and less dependent on network connectivity, the trend of offline usage or less dependency on the network is gaining popularity. Nowadays, applications keep DB locally or make a copy of DB over the cloud onto local devices and sync with it once in a day or whenever there is network connectivity. This will help in faster and responsive applications that are functional even when there is no or limited internet connectivity.

Databases for mobiles need to be:

  • Lightweight as storage is limited on mobile devices.
  • No server requirement.
  • In the form of the library with no or minimal dependency (embeddable) so that it can be used when needed
  • Fast and secure.
  • Easy to handle through code, and the option to make it private or shared with other applications.
  • Low memory and power consumption.

There are lots of mobile databases coming into the market but not all of them satisfy all requirements mentioned in this article. Let us discuss a few of the most popular databases for mobile apps and try to highlight their characteristics, pros, and cons.

Progressive web applications are helping businesses increase their user base. Read how 

SQLite

SQLite is relational DB, a lighter version of SQL designed for mobile. It is an in-process library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine. It is an embedded SQL Database engine without any separate server process, unlike any other SQL database.

SQLite supports all the relational database features and is an open-source compact library which is by default, present in two main Mobile OS i.e. Android and iOS, and supported by blackberry and windows phone.

SQLite can be stored both on disk as well as in-memory and each database file is a single disk file and can be used cross-platform. It is very fast and needs very little memory to operate.

Realm DB

The realm is a relational database management system which is like conventional databases, data can be queried and filtered, interconnected, and persisted but also have objects which are life and fully reactive.

Realm DB is developed by Realm and specially designed to run on mobile devices. Like SQLite, Realm is also serverless and cross-platform. It can be stored both on disk as well as in memory.

Realm has so many advantages over native SQLite, like:

  • Objects in Realm are native Objects, You don’t have to copy objects out of the database, modify them, and save them back—you’re always working with the “live,” real object.
  • Objects always stay in sync.
  • The realm is much faster than SQLite. Realm can query up to 57 records/sec, whereas SQLite can do only up to 20 records/sec.
  • Data can be secured with transparent encryption and decryption.
  • Realm has a reactive architecture, which means it can be directly connected to UI, if data changes it will automatically refresh and appear on the screen.
  • It automatically syncs to Realm Object server (if present) when there is network connectivity present.
  • One application can have multiple Realms, both local and remote
  • Can set different permissions for different users.
  • Available for Android, iOS, JavaScript, etc.

ORMLite

ORMLite is a lighter version of Object Relational Mapping which provides some simple functionality for persisting Java objects to SQL databases. It is ORM wrapper over any mobile SQL related DB.

ORMLite is used to simplify complicated SQL operations by providing a flexible query builder. It also provides powerful abstract Database Access Object (DAO) classes.

ORMLite is helpful in big size applications with complex queries because it handles “compiled” SQL statements for repetitive query tasks. It also has support for configuring tables and fields without annotations and supports native calls to Android SQLite database APIs.

But ORMLite does not fulfill all the requirements like it is bulky as compared to SQLite or Realm, slower than SQLite and Realm but faster than most of the other ORMs present in the market.

All in all, ORMLite is a good SQLite replacement if the application is big and complex in terms of DB usage.

Berkeley DB

Berkeley DB is an open-source high performance embedded DB that allows us to handle data in different ways. It was developed by Sleepycat Software but acquired by Oracle in 2006. It provides API for so many languages including Android and iOS.

Berkeley DB can handle data in many ways. It can be in a relational way like SQLite (by replacing SQLite with its own library), or it can be in Key/Value pair data as byte arrays and supports multiple data items for a single key. It also supports java objects as data or it can also be XML documents. Different libraries provide different types of API to handle multiple formats but all packaged Berkeley DB.

Berkeley can work as relational DB as well as NoSQL DB (Depends on which library you are using).

The good thing about Berkeley DB is that the API provided by it are compatible with SQLite. So one can use Berkeley DB without rewriting the whole code again. The combination of Berkeley and SQLite is considered faster and perform better in concurrent and single writing multiple reading operations.

Berkeley is relatively faster than SQLite but because of so many different features, it is bulkier than any other discussed DBs. So if the size of the application is a criterion try to use some other DB, unless you want a feature exclusively provided by Berkeley DB.

Couchbase Lite

Couchbase Lite is a powerful NoSQL embedded JSON database. It is a highly scalable DB with enterprise-level security.

Data in Couchbase Lite is stored as JSON documents. Each document can have one or more attachments which are stored and loaded separately from documents.

Couchbase Mobile is the solution provided by Couchbase Lite for mobile applications. It is comprised of three different components: Couchbase Lite, an embedded NoSQL database, Sync Gateway. Couchbase is an offline-first DB and sync with Cloud is needed or when the network is available.  Couchbase Lite runs locally on the device and persists data as JSON and binary format. All crud operations performed on local DB. The developer does not need to write sync code (if needed) to sync local DB with the cloud, it is handled by Sync Gateway. Couchbase Lite comes with a conflict resolution mechanism that is quite similar to the one used by Git.

Another advantage of Couchbase Lite is that it provided native APIs for Android and iOS and plugins for Xamarin and PhoneGap.

So if there is a requirement of any NoSQL DB in mobile OS, Couchbase lite is the best bet as it is very fast, reliable, and moderate in size.

In the end, it totally depends on the requirements and feasibility for the application to choose which DB will fit in. But every mobile DB should fill most of the above-mentioned requirements if not all.

Our end to end mobile app development services can help ideate, build deploy, update, and maintain your mobile applications without a worry.