i want to fix screen orientation in only one page of my application ? is there any way ?Scroll view is not working gud? is any other option ?
Hi, do you mean something like this https://www.npmjs.com/package/nativescript-screen-orientation?
is this for all pages ?
i need to set only one page orientation … is it possible ?
Yes, it is possible to set it just for one page. I am using it that way. You can try the examples on that link.
after installing the plugin ,i didt see any change to my code…
i use this to my page…no error…but nothing will changed
Do the console.logs fire?
yup…i try to console.log(“landscape”) and also try alert message…but nothing will display ? no changes
have you tried calling setCurrentOrientation directly from the constructor, not inside the page navigation events?
yes…now i solve the issue…now i am able to set orientation…thank you for your help.