Skip to content

Commit a28c872

Browse files
author
queue-it
committed
Preparing release 3.0.14
1 parent d805345 commit a28c872

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

QueueITLib/QueueConsts.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33

44
#define QueueCloseUrl @"queueit://close"
55
#define QueueRestartSessionUrl @"queueit://restartSession"
6-
#define SDKVersion @"iOS-3.0.13";
6+
#define SDKVersion @"iOS-3.0.14";
77

88
#endif

QueueITLib/QueueITWKViewController.m

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -84,17 +84,8 @@ - (BOOL)handleSpecialUrls:(NSURL*) url
8484

8585
- (void)viewDidLoad {
8686
[super viewDidLoad];
87-
}
88-
89-
- (void)viewWillAppear:(BOOL)animated{
90-
[super viewWillAppear:animated];
91-
}
92-
93-
-(void)viewWillLayoutSubviews{
94-
[super viewWillLayoutSubviews];
9587
self.spinner = [[UIActivityIndicatorView alloc]initWithFrame:self.view.bounds];
9688
[self.spinner setColor:[UIColor grayColor]];
97-
[self.spinner startAnimating];
9889

9990
WKPreferences* preferences = [[WKPreferences alloc]init];
10091
preferences.javaScriptEnabled = YES;
@@ -107,6 +98,17 @@ -(void)viewWillLayoutSubviews{
10798
webview.opaque = NO;
10899
webview.backgroundColor = [UIColor clearColor];
109100
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;
110112

111113
[self.view addSubview:self.webView];
112114
[self.webView addSubview:self.spinner];

QueueITLibrary.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
Pod::Spec.new do |s|
22
s.name = "QueueITLibrary"
3-
s.version = "3.0.13"
3+
s.version = "3.0.14"
44
s.summary = "Library for integrating Queue-it into an iOS app using web uI"
55
s.homepage = "https://github.com/queueit/ios-webui-sdk"
66
s.license = 'MIT'
77
s.authors = { 'Queue-It' => 'https://queue-it.com' }
88
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' }
1010
s.requires_arc = true
1111
s.source_files = "QueueITLib/*.{h,m}"
1212
end

0 commit comments

Comments
 (0)