Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Getting Started with NativeScript

You're reading from   Getting Started with NativeScript Explore the possibility of building truly native, cross-platform mobile applications using your JavaScript skill—NativeScript!

Arrow left icon
Product type Paperback
Published in Jan 2016
Publisher
ISBN-13 9781785888656
Length 168 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Nathanael J. Anderson Nathanael J. Anderson
Author Profile Icon Nathanael J. Anderson
Nathanael J. Anderson
Arrow right icon
View More author details
Toc

Android and iOS differences


Since each of the platforms is implemented by totally different teams, each platform has its own particular awesome and horrible behavior. When possible, NativeScript wraps them all up and attempts to make a cohesive whole that works in a similar way on both platforms. This means for the most part, the component will work identically, but there can be discrepancies, which you may have to take into consideration. We will look at a couple of differences in depth.

The soft keyboard

One difference that you might have already noticed in our crossCommunicator application is that on Android, when you click on the text entry box and the soft keyboard pops up, the message log part of the screen automatically shrinks and the text entry box is still visible. This is something that Google engineers built into Android. We get this awesome behavior for free. However, on iOS, when the soft keyboard appears, it just goes over everything on the bottom part of the screen. In this...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime