From a28c87260f5ff3826298cec2ed788957a999c1b1 Mon Sep 17 00:00:00 2001 From: queue-it Date: Thu, 12 May 2022 08:40:54 +0000 Subject: [PATCH] Preparing release 3.0.14 --- QueueITLib/QueueConsts.h | 2 +- QueueITLib/QueueITWKViewController.m | 20 +++++++++++--------- QueueITLibrary.podspec | 4 ++-- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/QueueITLib/QueueConsts.h b/QueueITLib/QueueConsts.h index f88c2d4..8028f59 100644 --- a/QueueITLib/QueueConsts.h +++ b/QueueITLib/QueueConsts.h @@ -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 diff --git a/QueueITLib/QueueITWKViewController.m b/QueueITLib/QueueITWKViewController.m index 8fc3604..b7c7975 100644 --- a/QueueITLib/QueueITWKViewController.m +++ b/QueueITLib/QueueITWKViewController.m @@ -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; @@ -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]; diff --git a/QueueITLibrary.podspec b/QueueITLibrary.podspec index 6933344..4a24b3a 100644 --- a/QueueITLibrary.podspec +++ b/QueueITLibrary.podspec @@ -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