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 - • NativeScript Scoped NPM Packages
►LET'S CONNECT
Alex on Twitter: / digitalix
NativeScripting on Twitter: / nativescripting
► FREE + PREMIUM NATIVESCRIPT COURSES - take your NativeScript development skills to the next level
https://nativescripting.com
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:
• Get Tap Gesture Coordinates | NativeS...
Share the entire NativeScript playlist to help your friends with their native iOS and Android apps written with JavaScript:
• NativeScript Tutorials
► ASK
If you have a topic you want me to make a video about use #iscriptnative in the comments.
Watch video Get Tap Gesture Coordinates | NativeScript Tutorial online without registration, duration hours minute second in high quality. This video was added by user Alex Ziskind 10 December 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,191 once and liked it 43 people.