From 61a6ce15dabf8d6f0302b48f644346afc5f9809f Mon Sep 17 00:00:00 2001 From: Nikola Zagorchev Date: Thu, 27 Jun 2024 00:18:49 +0300 Subject: [PATCH] [MC-1709] Use keyWindow supported orientations for CTInAppDisplayViewController (#340) * Supported orientations based on the window orientations * Use keyWindow --- CleverTapSDK/CTInAppDisplayViewController.m | 52 ++++++++++++++++++--- 1 file changed, 45 insertions(+), 7 deletions(-) diff --git a/CleverTapSDK/CTInAppDisplayViewController.m b/CleverTapSDK/CTInAppDisplayViewController.m index 8eea0028..1323a00c 100644 --- a/CleverTapSDK/CTInAppDisplayViewController.m +++ b/CleverTapSDK/CTInAppDisplayViewController.m @@ -76,17 +76,55 @@ - (void)viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(id