Window "frame" rotates even though app is portrait only - ios

I'm working on portrait-only app for iOS that even though the interface does not rotate, I'm getting the "frame" rotation animation of the window when rotating the device.
Adding more detail:
The app is a single window application
Its native objc, no web view or react native or weird frameworks
The rectangle in the lower left is added by iOS 11 when you took a screenshot.
Happens in the device with iOS 11 only, not happening on the simulators.
Graphic reference:

Related

IOS 13 Safe area break after switching between landscape and portrait

After xcode 11 ios 13 release there were a lot of new bugs in my app: modalPresentationStyle, Facebook SDK and so on. But what really cracked me is that:
In my app i have two windows. One for Unity, one for UIKit client side. I'm switching between them when it needed. Unity window use landscape orientations, client only portrait. The bug happens when i switch to landscape window, minimize and expand back the app and switch back to portrait window. In portrait window the safe area is like for landscape.
I created a project and a video for this bug https://github.com/NikKovIos/IOS13BugWithWindowSafeArea
Tell me if someone has overcome it.

FBAudienceNetwork interstitial ads displayed upside down when orientation is landscape right

On landscape left it is fine but when I rotate the device as landscape right, advertisements mostly displayed upside down (behaves like device orientation is landscape left).
I tried both 4.25.0 and 4.26.0 FBAudienceNetwork SDK versions.
And devices: iPhone 5 (iOS 10.3.3), iPod touch 5 (iOS 9.3.5)
I also tried the sample project on https://github.com/fbsamples/audience-network and it behaves same.
When I search about the issue I faced, could not see any other people complains about it.
Is there such problem or am I doing something wrong?

Changing orientation in iOS8 with a UIAlertController displayed makes my app's background full black and then rotates

I have built an iOS app from xcode 7.3.1 and ran it on a iOS 8.4.1 device. When I rotate the device with a UIAlertController is displayed, the background becomes full black (Only component which is visible is the Alert view) and then rotates.

Black second screen on the iOS iPad simulator in landscape mode

I'm trying to get an external screen for an iOS iPad app up and running. Currently I just could test this with the iOS simulator (VGA connection kit is on it's way).
My problem is that when starting the app in landscape (left or right) or portrait upside down the external display remains black. If started in normal portrait mode then everything is fine.
You can test the whole thing with the sample project provided by Apple. It works in 1 of 4 cases (see below) and behaves exactly like my project:
https://developer.apple.com/library/ios/#samplecode/ExternalDisplay/Introduction/Intro.html#//apple_ref/doc/uid/DTS40010724
Steps to reproduce the problem:
Start your iPad 6.0 simulator by hand (not via Xcode, run project).
In the menu bar: Hardware > TV-Out - pick a screen resolution. A second window will appear and act as a second screen.
Turn it via CMD+ArrowLeft/Right to landscape-left/right or portrait upside down.
Now run the project in your iPad 6.0 simulator.
If the application has started (don't worry, this app just was not designed by Apple to rotate its interface correctly) press the button in the navbar.
-> The second screen will remain black.
Same test in protrait mode (will work correctly):
Quit the simulator, repeat steps 1,2,4,5, don't turn the simulator, leave it in normal portrait mode.
-> The second screen will be filled.
Now I wonder why that is. It's not very nice to only have the second screen at hand if the app was started in portrait mode. And it's not very pleasant to develop and test with this problem.
Funny thing is that whenever you start the app in portrait mode it works, but if you start it once in an other orientation it won't work anymore till you restart the simulator.
Maybe you can also tell me if this is also a problem with the real device and a connection kit / airplay.
Concrete questions:
- Is this bahaviour of the simulator normal?
- Did I just forgot something?
- Is this problem just occuring in the simulator and not with running apps on devices connected to a seconds screen?
Thankful for any hint or advice!
Problem has solved itself. With the newest versions of Xcode/iOS Simulator it works as expected now. The code iteself was ok, just the Simulator did not handle everything like it would happen with a real device.

IOS - AIR - Strange component appearing when rotating

We're developing an app for iOS using Adobe AIR. When rotating on an iOS device, a strange gray rectangle appears in the screen during the rotation and disappears after the rotation is complete.
This problem only occurs when I try to rotate it upside down to left and left to upside down.
I tested the application on multiples iPads and Android devices, and only iOS devices has this problem.
Has anyone seen this before?

Resources