Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
77 views

I have an app whose main view controller (call it VC-A) is locked in portrait orientation. I would like to present a sheet-style modal (call it VC-B) over top of it, allowing the modal to rotate ...
tenuki's user avatar
  • 369
1 vote
0 answers
691 views

I know that I should use supportedInterfaceOrientations and setNeedsUpdateOfSupportedInterfaceOrientation method instead of shouldAutorotate and attemptRotationToDeviceOrientation. Above reason, I ...
HyunJin Yoon's user avatar
25 votes
8 answers
23k views

According to the iOS & iPadOS 16 Beta 3 Release Notes:- Attempting to set an orientation on UIDevice via setValue:forKey: isn’t supported and no longer works. Instead, they say use: ...
Abhayam's user avatar
  • 377
0 votes
1 answer
462 views

I am working on remastering Swift and UIKit after a long time. WorkFlow: I have created a ViewController with a UICollectionView aligning its centers in both X and Y axis and Proportional Width and ...
Nishanth Vemula's user avatar
0 votes
0 answers
50 views

I have set globally portrait interface orientation in target settings. But I would like to have all possible interface orientation on a specific view controller only. Is there a way to do it. I don't ...
Oleksandr Matrosov's user avatar
0 votes
1 answer
504 views

As a developer, I know the list of orientations added in the Project settings/plist for my iOS app, but I would like to know the list of supported orientations from the code. For eg., one of the 3rd ...
user2431170's user avatar
0 votes
0 answers
137 views

This is regarding image orientation when captured with the device rotation lock on.' self.photoOutput.connection(with: AVMediaType.video)?.videoOrientation = self.stillImageOrientation I have self....
Gizmodo's user avatar
  • 3,024
0 votes
0 answers
252 views

I am using SwiftUI and Swift in my application. Few screens are expected to support both landscape or portrait orientation. In Swift, i am using below code to support landscape and portrait ...
cto platform's user avatar
1 vote
1 answer
74 views

iOS app ,set to allow only vertical screen, when running on iPad, when iPad is in horizontal screen,display is incomplete.
burningsun's user avatar
1 vote
0 answers
313 views

I have a viewcontoller Called P. Whenever I rotate the screen , viewDidLayoutSubviews is getting called in P. But sometimes it's not getting called in P and I don't why it happens like that and I don'...
Naveen's user avatar
  • 77
0 votes
1 answer
301 views

xcode project has image assets we can specify image for both iPhone and ipad for a single image name Is it possible I can specify image for portrait and landscape for iPhone and iPad separately Any ...
dinesh R's user avatar
  • 401
0 votes
1 answer
299 views

I have an app and it's working fine as expected in iOS 12 and below. I am only supporting portrait mode in my app. Now in iOS 13 what happens is If I open camera to capture video and rotates the ...
Rahul Vyas's user avatar
  • 28.9k
0 votes
1 answer
1k views

I made my application go into landscape mode when using SystemChrome.setPreferredOrientations([ DeviceOrientation.landscapeRight, DeviceOrientation.landscapeLeft, ]); But I cannot make ...
hungrywolf's user avatar
-1 votes
2 answers
176 views

This is what I am facing issue. My whole app is in Portrait Mode When a video plays in full screen and user rotate the device its default behavior rotates to landscape mode on clicking the screen/...
Dimple Shah's user avatar
3 votes
2 answers
92 views

I have a universal application running both on iPads and iPhones. The application starts with a .xib file, built in interface builder, which acts as the launch image. Once the app launched, it ...
Gergely Kovacs's user avatar
5 votes
0 answers
822 views

I'm trying to make an iOS app featuring some AR experience using ARKit. The app now has a start-up view with a "start" button (which shows first after the app is just launched) and a AR View (which ...
Lemon's user avatar
  • 51
1 vote
2 answers
100 views

I want to change the orientation of the View When it push from one ViewController to other view controller. Like when it push it should be change into the portrait to landscape. I try to this code ...
Krunal Nagvadia's user avatar
0 votes
1 answer
934 views

I would like get the item0 of the supported interface orientations in my info.plist. In order to have something like this: - (UIInterfaceOrientationMask)supportedInterfaceOrientations { NSArray ...
cmii's user avatar
  • 3,636
-1 votes
1 answer
831 views

I would like to be able to get the orientation of my iOS application's view using UIInterfaceOrientation. This is different to UIDevice.current.orientation as that returns how the device should ...
user avatar
1 vote
1 answer
181 views

I am creating an iOS app that will support iPhone and iPad in landscape and portrait orientations. I have setup my launch screen storyboard with an ImageView and that appears correctly in both ...
Don Miguel's user avatar
0 votes
1 answer
544 views

My Swift app's View Controller is fixed to portrait mode at all times, but the View Controller has an embedded AV video player (added as a child view controller) which should switch to fullscreen mode ...
Nagendra Rao's user avatar
  • 7,172
0 votes
1 answer
549 views

I'm trying to change orientation with just one view, the rest are anchored to Portrait. I've set a method in my AppDelegate as below func application(_ application: UIApplication, ...
user616076's user avatar
  • 4,041
2 votes
2 answers
1k views

I have an app (supported interface orientation - portrait only) with the next hierarchy of modally presented view controllers: A -> B -> AVP Where A is a view controller sitting in tab bar ...
iur's user avatar
  • 2,116
0 votes
0 answers
447 views

I have a custom view using the CVCalendar pod (https://github.com/CVCalendar/CVCalendar) that lays out dates within a UIView (calendarView). This works as expected when the view is loaded either in ...
Ryan Hampton's user avatar
1 vote
1 answer
101 views

i have reloaded the view that contains table view. But when i keep on rotating the table view frequently the app crashes saying: Terminating app due to uncaught exception 'NSGenericException', reason: ...
jenny sam's user avatar
  • 191

1
2 3 4 5
20