Skip to content

Commit ac8b8ec

Browse files
Merge pull request #7 from SourcePointUSA/fix_ios_controller_presentation_style
set consent ui prensentation style to over fullscreen
2 parents 4ba033b + b7d0959 commit ac8b8ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Assets/ConsentManagementProvider/Plugins/iOS/Source/UnityController.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ - (void) customConsentGDPRWithVendors {
274274
- (void)onSPUIReady:(SPMessageViewController * _Nonnull)controller {
275275
// NSLog(@"onSPUIReady");
276276
UIViewController *top = [UIApplication sharedApplication].keyWindow.rootViewController;
277+
[controller setModalPresentationStyle:UIModalPresentationOverFullScreen];
277278
[top presentViewController: controller animated:YES completion: nil];
278279
UnitySendMessage([self getGOName], "OnConsentUIReady", "onSPUIReady from iOS!");
279280
}

0 commit comments

Comments
 (0)