Proyectos de Subversion Iphone Microlearning

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
/*
2
 * Copyright 2018 Google
3
 *
4
 * Licensed under the Apache License, Version 2.0 (the "License");
5
 * you may not use this file except in compliance with the License.
6
 * You may obtain a copy of the License at
7
 *
8
 *      http://www.apache.org/licenses/LICENSE-2.0
9
 *
10
 * Unless required by applicable law or agreed to in writing, software
11
 * distributed under the License is distributed on an "AS IS" BASIS,
12
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
 * See the License for the specific language governing permissions and
14
 * limitations under the License.
15
 */
16
 
17
#import <UIKit/UIKit.h>
18
 
19
NS_ASSUME_NONNULL_BEGIN
20
/**
21
 * To avoid the risk of hijacking the app's existing view transition flow, we render in-app message
22
 * views in a new top-level UIWindow instead of presenting them from app's existing UIWindow.
23
 * The caller is supposed to set the rootViewController to be the appropriate view controller
24
 * for the in-app message and call setHidden:NO to make it really visible.
25
 */
26
NS_EXTENSION_UNAVAILABLE("Firebase In App Messaging is not supported for iOS extensions.")
27
@interface FIRIAMRenderingWindowHelper : NSObject
28
 
29
/// Returns the singleton `UIWindow` object used for rendering IAM views that block
30
/// user interactions with underlying content.
31
+ (UIWindow *)windowForBlockingView;
32
 
33
/// Returns the singleton `UIWindow` object used for rendering IAM views that don't block
34
/// user interactions with underlying content.
35
+ (UIWindow *)windowForNonBlockingView;
36
 
37
@end
38
NS_ASSUME_NONNULL_END