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.
Смотрите видео Get Tap Gesture Coordinates | NativeScript Tutorial онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Alex Ziskind 10 Декабрь 2019, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,191 раз и оно понравилось 43 людям.