Skip to content

Commit 6c8c298

Browse files
committed
added code to support full screen for ios 13
1 parent dd9befa commit 6c8c298

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

QueueITLib/IOSUtils.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ +(NSString*)getLibraryVersion{
2828
}
2929

3030
+(NSString*)getSdkVersion{
31-
return @"iOS-2.12.2";
31+
return @"iOS-2.12.3";
3232
}
3333

3434
@end

QueueITLib/QueueITEngine.m

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,9 @@ -(void)showQueue:(NSString*)queueUrl targetUrl:(NSString*)targetUrl
130130
eventTargetUrl:targetUrl
131131
customerId:self.customerId
132132
eventId:self.eventId];
133-
133+
if (@available(iOS 13.0, *)) {
134+
[queueWKVC setModalPresentationStyle: UIModalPresentationFullScreen];
135+
}
134136
if (self.delayInterval > 0) {
135137
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(self.delayInterval * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
136138
[self.host presentViewController:queueWKVC animated:YES completion:nil];

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 = "2.12.2"
3+
s.version = "2.12.3"
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, '8.3'
9-
s.source = { :git => 'https://github.com/queueit/ios-webui-sdk.git', :tag => '2.12.2' }
9+
s.source = { :git => 'https://github.com/queueit/ios-webui-sdk.git', :tag => '2.12.3' }
1010
s.requires_arc = true
1111
s.source_files = "QueueITLib/*.{h,m}"
1212
end

0 commit comments

Comments
 (0)