Questions tagged [autorotate]

The tag has no usage guidance.

autorotate
Filter by
Sorted by
Tagged with
1 vote
1 answer
122 views

UIHostingController not resizing on autororation under certain conditions

I see UIHostingController hosting a SwiftUI view which is presented modally. The problem I see is it doesn't resize on autorotation if the modalPresentationStyle is set to overCurrentContext. let ...
Deepak Sharma's user avatar
0 votes
1 answer
21 views

Image AutoRotate Feature using .Net

Have a requirement to autorotate images that are being scanned . I have to implement it via .Net /C# .Is there any paid or free libraries to accomplish it?
Abraham Mathew Ajoy's user avatar
0 votes
0 answers
40 views

Correctly fetch ViewController interfaceOrientation

I am using the following code to retrieve interface orientation of custom UIViewController (which is not a navigation/tabview controller). public var windowOrientation: UIInterfaceOrientation { ...
Deepak Sharma's user avatar
0 votes
0 answers
184 views

How to auto rotate screen in yocto linux for wayland compositor using services like sway or hikari, but not weston

Auto rotation is not working on yocto linux with service weston. So can anyone suggest as how to achieve screen auto rotation using other services like sway or hikari. I am okay with using any service ...
ShIvA SaI's user avatar
3 votes
0 answers
449 views

Progressive web app stuck in portrait mode despite auto-rotate being enabled on phone

I'm developing a website which I've also created a Progressive Web App (PWA) Android app for by using https://pwabuilder.com In my manifest.json file I initially had the orientation property set to ...
John Smith's user avatar
  • 8,561
0 votes
0 answers
48 views

How to fetch device auto rotation is on or off in flutter using native code

Hello I want to fetch device auto rotation is on or off using native android code as when I have to show popup to enable auto-rotation on if user has portrait mode on to take image in landscape view ...
j96's user avatar
  • 23
1 vote
1 answer
154 views

Rotating Emulator Window while replaying Location Routes

ive noticed that the window of my Android Emulator will rotate while im replaying a route from the Emulator Menu. The window rotation matches the bearing of the GPS signal. Ive confirmed this is ...
sneakyMan's user avatar
0 votes
1 answer
99 views

Does Imagick read iPhone Exif:Orientation wrong?

I try to autorotate some images from a zip with php. For the autorotate I'am using the Exif:Orientation informations of the image. The code does work, but I have problems with some images which seems ...
MaxWeb's user avatar
  • 123
0 votes
0 answers
172 views

plupload, preserve_headers = false, and autorotation issue

I have a jpeg image where the EXIF Orientation flag = 6, or "Rotate 90 CW". Here's the pertinent data from exiftool: ---- ExifTool ---- ExifTool Version Number : 12.44 ---- File ----...
shortmort37's user avatar
0 votes
2 answers
2k views

Set orientation to portrait and upside down for iOS project

I have an iOS project where I want to be able to show the app only in Portrait and Upside Down mode. I did the following: Checked Portrait and Upside Down in target -> General -> Deployment ...
es1's user avatar
  • 1,379
0 votes
2 answers
151 views

Disable auto rotation in an SKView under SpriteView

I want to force the display orientation to portrait programatically as some other screens should still autorotate. I added some code that works but the screen still autorotates and is then quickly ...
wjd's user avatar
  • 3
2 votes
0 answers
131 views

Auto-rotate certificate for the Service principal key while creating Express V2(MS Internal) service connection

Question: Is there any way we can create an auto-rotate certificate for the Service principal key while creating Express V2(MS Internal) service connection? My team owns a web application and we ...
Gunjan's user avatar
  • 21
0 votes
1 answer
1k views

Changing transition of screen using Auto Route flutter

I am using auto route in my flutter app. I need different page transitions for single page, for example if you are opening screen A from screen B it should open from rightside(Screen A should have ...
Karen Ghazaryan's user avatar
0 votes
2 answers
191 views

How to allow only single UIViewController to rotate upside down with Xcode?

In my app all screens have portrait orientation. How to allow only single UIViewController be in two orientation mode: portrait and upside down? When user rotates an iPhone, the UIViewController ...
Stanislav Putilov's user avatar
0 votes
1 answer
3k views

Portrait Only View In React on Mobile Devices?

Have a simple React App that I want to maintain in portrait-only on mobile devices. The normal meta tag to disable auto-rotate does not work. I have seen answers here on Stack Overflow for React ...
MadHatter's user avatar
  • 376
0 votes
2 answers
66 views

Why I am out of range by using x,y = y,x in python

The request is to rotate a list. When K=3, you turn [1,2,3,4,5,6,7] into [5,6,7,1,2,3,4]; when K=1, you turn [1,2,3,4,5,6,7] into [7,1,2,3,4,5,6] Why am I out of range? PyCharm informed me like this: ...
Austie Chou's user avatar
3 votes
1 answer
1k views

how to handle view rotations like youtube do on android?

I want to achieve the way youtube handles its video orientation. There are a few things to have in mind before just saying that I have to use onConfigurationChanged. THINGS TO CONSIDER The phone ...
Deneb Chorny's user avatar
1 vote
0 answers
333 views

How can I enable rotation of screen programmatically in Swift?

I am have 3 VC and in Xcode I enabled only Portrait mode but for one VC need enable Landscape Left & Right mode. How I can enabled these orientation programmatically? I am try use this code but it'...
Ice's user avatar
  • 720
-1 votes
1 answer
615 views

FFMPEG out image rotating 180 degrees automatically [duplicate]

I am using below command for image compression using FFMPEG. After executing command file rotating by 180 degrees in 6 inch above devices. "-y -i "+srcfile + " -vf scale=320:-1 " + ...
dnvsp's user avatar
  • 201
0 votes
1 answer
534 views

Vue-image-upload-resize not autoRotating pictures

In my DjangoREST/ Vue.js app I use Vue-image-upload-resize to upload pictures to my backend. But before I upload them, I check with Google Vision API if the pictures belongs to the right category. I ...
Toto Briac's user avatar
1 vote
1 answer
187 views

Error 404 page not found /profileScreen in flutter

I am using the flutter auto_route package for navigation. This error occurs when I navigate the screen on the context. e.g: If I write ExtendedNavigator.named('BuyRouter').push(HomeRoutes....
Shahryar Rafique's user avatar
3 votes
0 answers
1k views

Flutter: Webview Video Player not auto rotating as observe in Android Chrome

I am using https://pub.dev/packages/flutter_inappwebview plugin as webview now, I am loading a page where a video is running, then I selecting enlarge button to make video run in full view, I am ...
Yashhere's user avatar
1 vote
1 answer
527 views

Rotate jpeg images in ghostscript

I am converting .ps file to .jpeg file using ghostscript. But the output file should be rotated by 180 degree. I am using the below command to rotate. gswin64c.exe -sDEVICE=jpeg -dBATCH -dNOPAUSE -...
galme's user avatar
  • 611
0 votes
1 answer
330 views

React Native Orientation does not listening Current System Auto Rotate Status

Im using react-native-orientation . I want to lock initial login screen in portrait mode. so i have used Orientation.lockToPortrait() in app.tsx ,and Orientation.unlockAllOrientations() in a screen'...
Wasif Mustahid's user avatar
0 votes
1 answer
121 views

Auto multiple animation rotate with continuously from slow rotate till to fastest rotate in the css at once call on/off onclick of an element?

This is more detailed description from the thread of what I've made on this link. I have 3 animations on css what I've made in fiddle that are "animate1 (as a slow rotate), animate2 (as a medium ...
Asep Ujang Aso's user avatar
2 votes
1 answer
1k views

App rotates to landscape and portrait, but won't rotate upside down

When running a simple proof-of-concept iPhone app on my phone (iOS 13.1.2), it doesn't rotate upside down. It will rotate to either of the landscape orientations just fine, but not upside down. One ...
meisel's user avatar
  • 2,315
16 votes
3 answers
5k views

Autorotation bug in iOS 13

iOS 13/13.1 autorotation seems to be behave differently than iOS 12. For instance, my app allows user to lock interface orientation to portrait or landscape mode in settings. If I have portrait ...
Deepak Sharma's user avatar
0 votes
0 answers
748 views

How do I rotate service account keys and copy new ones to cloud storage

I am trying to automate daily service account key rotation using a function, but not sure how to upload newly created keys to cloud storage and remove old ones. I have tried the following code, but ...
Jman's user avatar
  • 333
1 vote
1 answer
440 views

Azure Application Key (not AKV) rotation mechanism/guidance

Is there any managed way to periodically (90 days) auto-rotate the keys associated with an app in Azure AD via App Registration? The closest I could find is this one - https://github.com/LockTar/...
Girish Pillai's user avatar
0 votes
1 answer
186 views

Disabling autorotation for specific UIView iOS 12

How do I allow one subview of my view controller to autorotate on an orientation change, but keep the others static. I'm trying to get an effect similar to the native camera app where the capture and ...
tallen11's user avatar
  • 1,387
0 votes
1 answer
276 views

UIView autorotation issue

I am getting issues in autorotation of a UIView which is nothing but a red line of width 4 and height half of superview's height in landscape mode, and in portrait mode the height is 4 points and ...
Deepak Sharma's user avatar
0 votes
1 answer
26 views

Why automatic rotation does not work correctly while swipe back?

If during the swipe back to turn the device, then a black area appearing, see the images. (https://i.stack.imgur.com/e8JcM.png) (https://i.stack.imgur.com/95bMG.png) If in the project settings to ...
Sergey Fedorchukov's user avatar
0 votes
1 answer
2k views

How can I stop a slick-slider from auto rotate?

I wanna stop a slick-slider from auto rotating. I do not have the code but need to overwrite it. <slick-slider> <slick-list> <slick-track> <slick-slide> </slick-...
Abbas Hodroj's user avatar
0 votes
1 answer
2k views

Using jpegtran to rotate progressive jpegs: invalid SOS parameter for sequential jpeg

My app tries to rotate images based on exif data. I keep getting requests about jpegtran complaining about ’invalid SOS parameter for sequential jpeg” and jhead aborting operation. Apparently this is ...
Olli Savolainen's user avatar
1 vote
0 answers
47 views

How to lock background image (UIImageView) when VC autorotate?

I have a UIImageView in role a background image: lazy var backgroundImageView: UIImageView = { return UIImageView(frame: CGRect(x: self.view.frame.origin.x, y: self.view.frame.origin.y, width: ...
Aleksandr Maybach's user avatar
0 votes
0 answers
511 views

Auto Rotate not working after setRequestedOrientation

I have an Activity with auto-rotate is allowed: <activity android:name="com.xxx.ui.browse.exercise.ExerciseActivity" android:configChanges="orientation|screenSize|...
anthony's user avatar
  • 7,703
0 votes
0 answers
66 views

image auto rotate counterclockwise when width is less than height

My all images auto rotate counterclockwise when width is less than height. Example: this example Help me please! Thanks!
NamLuong's user avatar
0 votes
0 answers
44 views

how do I stop presented view controller from getting dimissed

I am presenting a view controller programmatically but when the device is rotated it's getting auto-dismissed. I don't know why it happens and how do I fix it Here is the code ...
Elstine P's user avatar
  • 350
1 vote
0 answers
57 views

Swift: Previous view rotated while fading to a view that has a different orientation

My previous view (CaptureVC) doesn't autorotate, so it only has a portrait orientation. My second view that it transitions into (ManageCaptureVC) does autorotate, and while it is doing a fading ...
Chewie The Chorkie's user avatar
3 votes
3 answers
2k views

disable screen orientation in swift 4 for UINavigationController and UIViewController

Hi I am trying to stop the autorotation in one of the view controller in my project. In the snap shot below, I have a starting UINavigationController and then a UIViewController. I have implemented ...
neena's user avatar
  • 365
0 votes
1 answer
124 views

Auto rotating code works on iPhone but not on iPad

This is the code that only works on the iphone. I am making a universal app that runs on both devices, so it it the identical app. **//Automatically rotates the view to landscape let orientation: ...
IOS Guy's user avatar
  • 11
0 votes
1 answer
82 views

Rotate an image each degree from 0° to 359° and save them

I have one image, is it possible in Photoshop to rotate it each degree from 0° to 359° ? and save them to each file per degree ? It's really a night mare to rotate it one by one. Do you guys have any ...
bluewonder's user avatar
-4 votes
2 answers
4k views

How to rotate background image in android

I have background image for portrait orientation. But when I change phone's rotation(to landscape), app changes scale of image. I want app to rotate it instead.
Бауыржан Нургалиев's user avatar
2 votes
1 answer
4k views

Xamarin iOS Prevent rotation for specific viewcontroller

Need to prevent screen rotation on specific view controller I've tried below- public override bool ShouldAutorotateToInterfaceOrientation(UIInterfaceOrientation toInterfaceOrientation) { ...
Nikhil Dekhane's user avatar
0 votes
0 answers
79 views

Autorotation being broken by a HERE map subview

I’m having a trouble with autorotation disappearance on iOS 10, Xcode 8.3.3. I have 2 view controllers inside of another container view controller. The 1st one is an empty view for test. The 2nd one ...
AndreyMan's user avatar
  • 113
1 vote
1 answer
2k views

How to prevent auto image rotatation in imageview?

I am struggling with the image auto rotation into image view. Issue no. 1 As per my observation, if image is rotated to any angle then at time of displaying image into imageview, android rotate that ...
Rohan Patel's user avatar
  • 1,808
0 votes
1 answer
1k views

Libgdx - Rotate an object using its movement

I'm trying to implement an autorotation method for a SpriteAnimation class (trying to port SpriteAnimation). Everything is working, the sprite draws correctly (it uses the correct animations) it just ...
user avatar
4 votes
1 answer
1k views

Auto rotate doesn't work after setRequestedOrientation when button is clicked

I have this video view. It has a fullscreen button as a controller. The auto rotation works normally at first, but whenever the fullscreen button is clicked, the screen rotate to be landscape, and ...
Kabindra Shrestha's user avatar
4 votes
2 answers
1k views

AVPlayer View Controller Autorotation off?

I'm working on an iOS app in portrait mode only, and it's working fine. Issue is that I'm presenting AVPlayerViewController above navigationController (both created programmatically). This player ...
Fayza Nawaz's user avatar
  • 2,286
0 votes
1 answer
69 views

Stopping Single UIView from Autorotating

So I have an AVPlayerLayer that I want to rotate when the user turns the device landscape and go fullscreen. However, I don't want the UI behind the player to rotate with it. How do I do this? I'm ...
BlueSpud's user avatar
  • 1,603

1
2 3 4 5
11