If you want to get the X and Y screen coordinates of where the user tapped, you need to use a bit of iOS and Android API code to do it. In this NativeScript tutorial, I show you how to d that and how iOS and Android give you results in DIPs and Pixels respectively, so conversion between the two formats is also demonstrated.
► NativeScript Scoped NPM Packages - [ Ссылка ]
►LET'S CONNECT
Alex on Twitter: [ Ссылка ]
NativeScripting on Twitter: [ Ссылка ]
► FREE + PREMIUM NATIVESCRIPT COURSES - take your NativeScript development skills to the next level
[ Ссылка ]
Take 25% off any premium NativeScript course by using the coupon code YOUTUBE
► SHARE
Share this video with a friend to help them with their native JavaScript apps:
[ Ссылка ]
Share the entire NativeScript playlist to help your friends with their native iOS and Android apps written with JavaScript:
[ Ссылка ]
► ASK
If you have a topic you want me to make a video about use #iscriptnative in the comments.
![](https://i.ytimg.com/vi/75dPbP_eP-0/maxresdefault.jpg)