Top "Orientation-changes" questions

In mobile devices there are different orientations (typically, portrait and landscape).

How to detect orientation change?

I am using Swift and I want to be able to load a UIViewController when I rotate to landscape, can …

ios swift orientation-changes
Detecting if a device is able to change orientation in JavaScript

Is there a native JavaScript (or through the use of a library such as JQuery/Modernizr etc) way to detect …

javascript jquery orientation device-orientation orientation-changes
Assigning Fragments to tabs in the ActionBar with different orientations

I have 3 fragments and an activity. I want to enable tabs on the ActionBar and assign a Fragment to each …

android tabs android-actionbar orientation-changes
How to detect when the device switch from portrait to landscape mode?

I have an app which shows fullscreen bitmaps in an activity. In order to provide fast loading time, I load …

android screen-orientation orientation-changes
Mobile viewport height after orientation change

I am attaching a listener to the orientationchange event: window.addEventListener('orientationchange', function () { console.log(window.innerHeight); }); I need to …

javascript html mobile viewport orientation-changes
How to set page orientation for Word document?

I use Apache POI XWPF to create and handle MS Word documents. But I didn't find in the documentation how …

java apache-poi landscape-portrait orientation-changes xwpf
Window orientationchange event in Angular

Is there a way to call the orientationchange event inside an AngularJS directive? I'm currently working with angular-masonry and I'm …

angularjs angularjs-directive orientation-changes masonry
Android: Efficient Screen Rotation Handling

In Android, when the screen orientation changes (between landscape and portrait) the onCreate method is called which ,if not handled …

android rotation screen screen-orientation orientation-changes
Get phone orientation but fix screen orientation to portrait

I want to get the phone orientation but keep the screen orientation to portrait. So no matter the user turns …

android screen-orientation orientation-changes
Switching page orientation in ireport

I've read there's no way to handle mixed orientations natively using iReport, however reading the documentation I wonder if by …

jasper-reports ireport orientation-changes