orientation Questions
6
I've got an initial quaternion , q0. And I get angular velocity measurments, I integrate the the velocities so I got 3 angles at 50Hz or so. How can make a quaternion based on the 3 angles? I can't...
Juggernaut asked 6/5, 2014 at 19:19
2
Solved
My app has certain orientations that are set depending on device. For iPads it is set to landscape and portrait for iPhones. This works fine except I want to allow one view to be shown in landscape...
Report asked 28/1, 2023 at 18:54
3
As a test sample, there is an application with 2 activities: MainActivity that launches SecondActivity on button click.
It works fine on Android 4.0.4, but on Android 4.1.2 I encountered unexpected...
Chadwell asked 19/12, 2012 at 15:26
3
Solved
I recorded a Full HD video with Samsung Galaxy II, when I uploaded it to YouTube I found that it turned to 90 degrees like Portrait layout 1080x1920 NOT 1920x1080.
I found the cause of the problem:...
Brno asked 11/8, 2011 at 11:39
4
Environment: SwiftUI using Swift 5.3
Scenario: The default orientation is Portrait, LandscapeLeft & LandscapeRight per Xcode General Setting. This allows the possibility to have landscape on d...
Selfinduction asked 4/2, 2021 at 0:35
9
Solved
How to find out Orientation is portrait or landscape in Flutter
if(portrait){
return ListView.builder()
}else{
return GridView.count()
}
Trimmer asked 12/6, 2018 at 10:31
7
Solved
These is my layout:
I need to save the scrolling position when the orientation changes. for example if the screen shows layout starting from middle name in portrait mode,it should start from sam...
Gabo asked 23/3, 2015 at 10:35
4
I searched around and it turns out the answer to this is surprising hard to find. Theres algorithm out there that can generate a random orientation in quaternion form but they involve sqrt and trig...
Loginov asked 24/7, 2015 at 1:26
13
Solved
I am using the following code to rotate an uploaded jpeg image if the orientation is off. I am only having problems with images uploaded from iPhones and Android.
if(move_uploaded_file($_FILES['ph...
Spleeny asked 20/9, 2011 at 18:11
13
Solved
I am creating a responsive website, and have just noticed a strange behaviour in my content pages when viewed on the iPhone. It scales correctly when loaded in portrait mode, and also when rotated ...
Gneiss asked 4/11, 2011 at 3:55
3
Solved
I have a view controller and I would like to have the following experience.
Inside the view controller i got a button which force rotate the orientation to landscape right.
In Deployment Info - D...
Milzie asked 17/5, 2018 at 8:35
5
I always received this error when I tried to allowed only portrait orientation on my controller:
Error Domain=UISceneErrorDomain Code=101 "None of the requested orientations are supported by t...
Anthracene asked 8/9, 2022 at 13:6
10
Solved
Is it possible to avoid transition to landscape view in Safari for iOS when the device is rotated?
iOS Safari has the "orentationchange" event, I tried to intercept it and disable the default beha...
Santosantonica asked 14/3, 2011 at 12:18
24
I would like to prevent my application from changing its orientation and force the layout to stick to "portrait".
In the main.dart, I put:
void main(){
SystemChrome.setPreferredOrientations([
D...
Driftwood asked 21/3, 2018 at 23:48
7
Solved
How can I get the image orientation (landscape or portrait) of an image (JPEG or PNG) in PHP?
I created a php site where users can upload pictures. Before I scale them down to a smaller size, I w...
Denise asked 26/11, 2012 at 15:57
1
My SwiftUI app needs to lock some views into Landscape and others into Portrait, so I was using the popular UIDevice.current.setValue() technique from this question and others. I was really happy w...
Polynesia asked 28/2, 2023 at 16:32
5
Solved
Can someone please tell me the "right" or "best" approach to working with portrait and landscape interface orientations in iOS 8? It seems that all the functions I want to use for that purpose are ...
Hydrology asked 26/9, 2014 at 23:53
3
I've implemented the iOS 11 feature prefersLargeTitles and it works just fine. Portrait mode is working as expected:
I understand the large title will always stay collapsed (small) in landscape ...
Abruption asked 24/8, 2018 at 11:54
6
Solved
I have a SwiftUI project. For all but one of the views, I want to allow portrait and only portrait mode. For only one view, I want to allow both portrait and landscape. There are some resources on ...
Vagrom asked 7/1, 2020 at 17:36
20
I was wondering how I can get the current device orientation in Swift? I know there are examples for Objective-C, however I haven't been able to get it working in Swift.
I am trying to get the dev...
Motta asked 11/9, 2014 at 20:40
11
Solved
I've seen references to being able to specify two separate layout xml files for an activity, one for Portrait and one for Landscape. I've not been to find any information on how to do that though. ...
Trailblazer asked 23/1, 2010 at 17:44
8
Solved
if using the emulator, press CTRL-F12 we will change portrait or landscape mode . How can i do this with BlueStack ?
Brumal asked 19/6, 2014 at 6:19
2
How to flip an UIImage vertically (up/down)? This is a question that is asked before...
Flip UIImage Along Either Axis
How to flip UIImage horizontally?
How to flip UIImage horizontally with Swif...
Tipton asked 26/11, 2018 at 12:31
0
I am working on an iPad application that has both Portrait and Landscape orientation. The issue that I am facing is regarding the the popup presentation that iPad shows you for saving password whil...
Recor asked 29/9, 2022 at 16:32
5
I have set the Device Orientation to have only 'Portrait' checked in Xcode.
However when I run my app in the simulator, it rotates in all orientations.
My Xcode setting
Showing correctly in Portr...
Stanwinn asked 16/2, 2017 at 16:33
1 Next >
© 2022 - 2025 — McMap. All rights reserved.