Signal-iOS/Signal
Jordan Rose 856ced4062 Use supportedInterfaceOrientations to force calls to portrait
Previously this used UIDevice.ows_setOrientation, an undocumented hack
to basically lie to the device about which way is up. This sounds
sketchy, but it's the result of a lot of testing various solutions for
something that could reliably force the app into portrait orientation.

However, every UIWindow has its own "supported orientations", provided
by the root view controller. And calls are implemented in their own
UIWindow (so that they don't disrupt whatever you were doing). So for
*calls specifically*, we can use supportedInterfaceOrientations to
force the app into portrait mode.

All other callers of UIDevice.ows_setOrientation work in the shared
main window, so they'll be left alone. This only changes things for
the call window.
2022-08-10 10:28:19 -07:00
..
AudioFiles Don't use CallKit for video calls received while the app is active 2020-08-17 15:41:10 -07:00
Images.xcassets Allow to change font of text overlays in media editor. 2022-08-09 14:21:18 -07:00
Lottie Adjust megaphone priority and remove old megaphones 2022-01-24 10:42:34 -08:00
NSE-Images.xcassets Cache built avatars to disk for NSE 2022-02-14 11:59:13 -08:00
Settings.bundle SignalServiceKit: no longer a separate pod 2022-08-05 16:14:15 -05:00
Sounds Autoplay subsequent audio messages 2021-04-29 18:01:21 -07:00
src Use supportedInterfaceOrientations to force calls to portrait 2022-08-10 10:28:19 -07:00
test Add a unit test to ensure the zkgroup server params are up to date 2022-08-08 12:08:01 -07:00
translations Add camera + text controls to in-app camera 2022-08-05 08:07:44 -05:00
.swiftlint.yml
iTunesArtwork@3x.png
main.m Call UIApplicationMain() outside of autoreleasepool 2021-04-08 13:35:17 -07:00
Signal-AppStore.entitlements iOS 15 communication notification support for messages 2021-08-17 10:48:39 -10:00
Signal-Info.plist "Bump build to 5.50.0.9." (nightly-08-10-2022) 2022-08-10 04:00:55 -07:00
Signal-Prefix.pch Label the "slow write transactions" logging with the source of the transaction. 2020-06-07 10:37:55 -03:00
Signal.entitlements iOS 15 communication notification support for messages 2021-08-17 10:48:39 -10:00
SignalTSan.supp
SignalUBSan.supp