File tree Expand file tree Collapse file tree 3 files changed +14
-12
lines changed Expand file tree Collapse file tree 3 files changed +14
-12
lines changed Original file line number Diff line number Diff line change 3
3
4
4
#define QueueCloseUrl @"queueit://close"
5
5
#define QueueRestartSessionUrl @"queueit://restartSession"
6
- #define SDKVersion @"iOS-3.0.13 ";
6
+ #define SDKVersion @"iOS-3.0.14 ";
7
7
8
8
#endif
Original file line number Diff line number Diff line change @@ -84,17 +84,8 @@ - (BOOL)handleSpecialUrls:(NSURL*) url
84
84
85
85
- (void )viewDidLoad {
86
86
[super viewDidLoad ];
87
- }
88
-
89
- - (void )viewWillAppear : (BOOL )animated {
90
- [super viewWillAppear: animated];
91
- }
92
-
93
- -(void )viewWillLayoutSubviews {
94
- [super viewWillLayoutSubviews ];
95
87
self.spinner = [[UIActivityIndicatorView alloc ]initWithFrame:self .view.bounds];
96
88
[self .spinner setColor: [UIColor grayColor ]];
97
- [self .spinner startAnimating ];
98
89
99
90
WKPreferences * preferences = [[WKPreferences alloc ]init];
100
91
preferences.javaScriptEnabled = YES ;
@@ -107,6 +98,17 @@ -(void)viewWillLayoutSubviews{
107
98
webview.opaque = NO ;
108
99
webview.backgroundColor = [UIColor clearColor ];
109
100
self.webView = webview;
101
+ }
102
+
103
+ - (void )viewWillAppear : (BOOL )animated {
104
+ [super viewWillAppear: animated];
105
+ }
106
+
107
+ -(void )viewWillLayoutSubviews {
108
+ [super viewWillLayoutSubviews ];
109
+ [self .spinner startAnimating ];
110
+ self.webView .frame = self.view .bounds ;
111
+ self.spinner .frame = self.view .bounds ;
110
112
111
113
[self .view addSubview: self .webView];
112
114
[self .webView addSubview: self .spinner];
Original file line number Diff line number Diff line change 1
1
Pod ::Spec . new do |s |
2
2
s . name = "QueueITLibrary"
3
- s . version = "3.0.13 "
3
+ s . version = "3.0.14 "
4
4
s . summary = "Library for integrating Queue-it into an iOS app using web uI"
5
5
s . homepage = "https://github.com/queueit/ios-webui-sdk"
6
6
s . license = 'MIT'
7
7
s . authors = { 'Queue-It' => 'https://queue-it.com' }
8
8
s . platform = :ios , '9.3'
9
- s . source = { :git => 'https://github.com/queueit/ios-webui-sdk.git' , :tag => '3.0.13 ' }
9
+ s . source = { :git => 'https://github.com/queueit/ios-webui-sdk.git' , :tag => '3.0.14 ' }
10
10
s . requires_arc = true
11
11
s . source_files = "QueueITLib/*.{h,m}"
12
12
end
You can’t perform that action at this time.
0 commit comments