JubeatPlus 3.9.11
Loading...
Searching...
No Matches
RewardWebViewController.h
Go to the documentation of this file.
1
19
20#import <UIKit/UIKit.h>
21
23#import "ApplilinkStore.h"
24
25NS_ASSUME_NONNULL_BEGIN
26
35
39@interface RewardWebViewController : UIViewController
40
47@property(weak, nonatomic, nullable) id<SdkViewDelegate> sdkDelegate;
48
54@property(strong, nonatomic, nullable) UIView *parentView;
55
59@property(strong, nonatomic, nullable) UIView *baseView;
60
64@property(strong, nonatomic, nullable) UIWebView *webView;
65
71@property(strong, nonatomic, nullable) UINavigationBar *navigationBar;
72
76@property(strong, nonatomic, nullable) ApplilinkIndicator *indicator;
77
81@property(nonatomic) BOOL isNavigationBarHidden;
82
89@property(nonatomic) BOOL webViewBounces;
90
95
104- (void)setNavigationBarHidden:(BOOL)navigationBarHidden;
105
111- (void)updateIndicator:(BOOL)show;
112
123- (void)loadRequestWithURL:(nullable NSString *)url parameters:(nullable NSDictionary *)parameters;
124
130- (void)showVideoViewWithQuery:(nullable NSString *)query;
131
139- (void)appliListClosed;
140
146- (void)closeNotice:(nullable id)view;
147
152- (void)viewDealloc;
153
158- (void)clearDelegate;
159
168- (void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)orientation
169 duration:(NSTimeInterval)duration;
170
171@end
172
173NS_ASSUME_NONNULL_END
174
175// code: language=Objective-C
176// kate: hl Objective-C;
177// vim: set ft=objc :
The applilink SDK's blocking activity overlay.
The applilink SDK's App Store product-page facade singleton.
RewardWebViewControllerWebViewStatus
The current load state of the advert web view.
Definition RewardWebViewController.h:30
@ RewardWebViewControllerWebViewStatusFinished
The load has finished.
Definition RewardWebViewController.h:33
@ RewardWebViewControllerWebViewStatusIdle
No load has started.
Definition RewardWebViewController.h:31
@ RewardWebViewControllerWebViewStatusLoading
A load is in progress.
Definition RewardWebViewController.h:32
A dimming sheet with a centred activity indicator.
Definition ApplilinkIndicator.h:23
The in-application host controller for the reward-advert web page.
Definition RewardWebViewController.h:40
id< SdkViewDelegate > sdkDelegate
The SDK delegate that receives the advert lifecycle notices.
Definition RewardWebViewController.h:47
void clearDelegate()
Clear the SDK delegate and detach the web view's delegate.
Definition RewardWebViewController.m:605
void appliListClosed()
Close the advert list from an external request.
Definition RewardWebViewController.m:575
ApplilinkIndicator * indicator
The loading overlay shown while the advert page loads.
Definition RewardWebViewController.h:76
UINavigationBar * navigationBar
The navigation bar carrying the advert title and close button.
Definition RewardWebViewController.h:71
UIWebView * webView
The web view that renders the reward-advert page.
Definition RewardWebViewController.h:64
UIView * baseView
The container view that hosts the web view and navigation bar.
Definition RewardWebViewController.h:59
void viewDealloc()
Tear down the advert web view and release its subviews.
Definition RewardWebViewController.m:588
UIView * parentView
The host view the advert web view is added to.
Definition RewardWebViewController.h:54
BOOL webViewBounces
Whether the web view's scroll view is allowed to bounce.
Definition RewardWebViewController.h:89
BOOL isNavigationBarHidden
Whether the advert screen hides its navigation bar.
Definition RewardWebViewController.h:81
RewardWebViewControllerWebViewStatus webViewStatus
The current load state of the advert web view.
Definition RewardWebViewController.h:94