How to lock screen orientation in ionic


#1

How do i set screen orientation to landscape and lock it in certain screen. Based on my research, i found there is plugin called “cordova-yoik-screenorientation” able to do it, but i’m not idea how to integrate it with my hybrid ionic application? How do i able to lock screen in my angular controller?

Can someone guide me or any suggestion for lock screen orientation in ionic?

Your answer was appreciated. Thanks :smiley:


#2

Take a look at this thread