JubeatPlus 3.9.11
Loading...
Searching...
No Matches
ChallengeLoginInformationView.h
Go to the documentation of this file.
1
10
11#import <UIKit/UIKit.h>
12
13NS_ASSUME_NONNULL_BEGIN
14
20@protocol ChallengeLoginInformationViewDelegate <NSObject>
21@optional
26- (void)closeMenu;
31- (void)clickPackInfomation:(nullable NSDictionary *)info;
32@end
33
38@interface ChallengeLoginInformationView : UIView <UIWebViewDelegate>
39
43@property(nonatomic) BOOL bIndependMenu;
44
47@property(nonatomic, weak, nullable) id<ChallengeLoginInformationViewDelegate> aDelegate;
48
57- (instancetype)initWithFrame:(CGRect)frame
58 dispURL:(nullable NSString *)dispURL
59 btnType:(int)btnType;
60
68- (instancetype)initWithFrame:(CGRect)frame;
69
76
82- (void)closeMessage:(nullable id)sender;
83
94- (nullable NSURLRequest *)uiWebView:(nullable id)uiWebView
95 resource:(nullable id)resource
96 willSendRequest:(nullable NSMutableURLRequest *)request
97 redirectResponse:(nullable NSURLResponse *)redirectResponse
98 fromDataSource:(nullable id)dataSource;
99
109- (BOOL)webView:(UIWebView *)webView
110 shouldStartLoadWithRequest:(NSURLRequest *)request
111 navigationType:(UIWebViewNavigationType)navigationType;
112
117- (void)stopIndicator;
118
125- (void)webView:(UIWebView *)webView didFailLoadWithError:(NSError *)error;
126
132- (void)webViewDidStartLoad:(UIWebView *)webView;
133
139- (void)webViewDidFinishLoad:(UIWebView *)webView;
140
141@end
142
143NS_ASSUME_NONNULL_END
144
145// code: language=Objective-C
146// kate: hl Objective-C;
147// vim: set ft=objc :
A UIWebView sheet that shows the challenge login/information page and routes its custom link schemes ...
Definition ChallengeLoginInformationView.h:38
void notificationRequest()
Loads the sheet's request into the web view, building one from dispURL when firstRequest is not alrea...
Definition ChallengeLoginInformationView.m:208
BOOL bIndependMenu
Whether this sheet stands alone (plays its own close sound); backed by _bIndependMenu .
Definition ChallengeLoginInformationView.h:43
id< ChallengeLoginInformationViewDelegate > aDelegate
The owner told about close and pack-link events.
Definition ChallengeLoginInformationView.h:47
void stopIndicator()
Stops and removes the loading indicator.
Definition ChallengeLoginInformationView.m:293
void closeMenu()
The close button was tapped and, lacking closeLoginInformation , the owner should close its menu inst...
void closeLoginInformation()
The sheet's close button was tapped and the owner should dismiss the login sheet.