Skip to content

Commit

Permalink
Preparing release 3.0.14
Browse files Browse the repository at this point in the history
  • Loading branch information
queue-it committed May 12, 2022
1 parent d805345 commit a28c872
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion QueueITLib/QueueConsts.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

#define QueueCloseUrl @"queueit://close"
#define QueueRestartSessionUrl @"queueit://restartSession"
#define SDKVersion @"iOS-3.0.13";
#define SDKVersion @"iOS-3.0.14";

#endif
20 changes: 11 additions & 9 deletions QueueITLib/QueueITWKViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -84,17 +84,8 @@ - (BOOL)handleSpecialUrls:(NSURL*) url

- (void)viewDidLoad {
[super viewDidLoad];
}

- (void)viewWillAppear:(BOOL)animated{
[super viewWillAppear:animated];
}

-(void)viewWillLayoutSubviews{
[super viewWillLayoutSubviews];
self.spinner = [[UIActivityIndicatorView alloc]initWithFrame:self.view.bounds];
[self.spinner setColor:[UIColor grayColor]];
[self.spinner startAnimating];

WKPreferences* preferences = [[WKPreferences alloc]init];
preferences.javaScriptEnabled = YES;
Expand All @@ -107,6 +98,17 @@ -(void)viewWillLayoutSubviews{
webview.opaque = NO;
webview.backgroundColor = [UIColor clearColor];
self.webView = webview;
}

- (void)viewWillAppear:(BOOL)animated{
[super viewWillAppear:animated];
}

-(void)viewWillLayoutSubviews{
[super viewWillLayoutSubviews];
[self.spinner startAnimating];
self.webView.frame = self.view.bounds;
self.spinner.frame = self.view.bounds;

[self.view addSubview:self.webView];
[self.webView addSubview:self.spinner];
Expand Down
4 changes: 2 additions & 2 deletions QueueITLibrary.podspec
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Pod::Spec.new do |s|
s.name = "QueueITLibrary"
s.version = "3.0.13"
s.version = "3.0.14"
s.summary = "Library for integrating Queue-it into an iOS app using web uI"
s.homepage = "https://github.com/queueit/ios-webui-sdk"
s.license = 'MIT'
s.authors = { 'Queue-It' => 'https://queue-it.com' }
s.platform = :ios, '9.3'
s.source = { :git => 'https://github.com/queueit/ios-webui-sdk.git', :tag => '3.0.13' }
s.source = { :git => 'https://github.com/queueit/ios-webui-sdk.git', :tag => '3.0.14' }
s.requires_arc = true
s.source_files = "QueueITLib/*.{h,m}"
end

0 comments on commit a28c872

Please sign in to comment.