From 5aba3091e8070b0d887362acb9d05e695fb85278 Mon Sep 17 00:00:00 2001 From: LEE <18611401994@163.com> Date: Tue, 20 Sep 2022 15:35:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=9D=E8=AF=95=E8=A7=A3=E5=86=B3iOS16=20Win?= =?UTF-8?q?dow=E6=97=8B=E8=BD=AC=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LEEAlert.podspec | 2 +- LEEAlert/LEEAlert.h | 2 +- LEEAlert/LEEAlert.m | 7 ++++--- LEEAlert/LEEAlertHelper.h | 2 +- UPDATELOG.md | 4 ++++ 5 files changed, 11 insertions(+), 6 deletions(-) diff --git a/LEEAlert.podspec b/LEEAlert.podspec index bd4a3df..6b8e76a 100644 --- a/LEEAlert.podspec +++ b/LEEAlert.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "LEEAlert" -s.version = "1.6.0" +s.version = "1.6.1" s.summary = "优雅的Alert ActionSheet" s.homepage = "https://github.com/lixiang1994/LEEAlert" diff --git a/LEEAlert/LEEAlert.h b/LEEAlert/LEEAlert.h index 262d681..671ebe0 100644 --- a/LEEAlert/LEEAlert.h +++ b/LEEAlert/LEEAlert.h @@ -12,7 +12,7 @@ * * @author LEE * @copyright Copyright © 2016 - 2020年 lee. All rights reserved. - * @version V1.6.0 + * @version V1.6.1 */ #import diff --git a/LEEAlert/LEEAlert.m b/LEEAlert/LEEAlert.m index 3c41417..ca9aac9 100644 --- a/LEEAlert/LEEAlert.m +++ b/LEEAlert/LEEAlert.m @@ -12,7 +12,7 @@ * * @author LEE * @copyright Copyright © 2016 - 2020年 lee. All rights reserved. - * @version V1.6.0 + * @version V1.6.1 */ #import "LEEAlert.h" @@ -4079,10 +4079,11 @@ - (void)show{ if (@available(iOS 13.0, *)) { [LEEAlert shareManager].leeWindow.overrideUserInterfaceStyle = self.config.modelUserInterfaceStyle; + + } else { + [[LEEAlert shareManager].leeWindow makeKeyAndVisible]; } - [[LEEAlert shareManager].leeWindow makeKeyAndVisible]; - self.isShowing = YES; } diff --git a/LEEAlert/LEEAlertHelper.h b/LEEAlert/LEEAlertHelper.h index 220c0dd..a15224d 100644 --- a/LEEAlert/LEEAlertHelper.h +++ b/LEEAlert/LEEAlertHelper.h @@ -13,7 +13,7 @@ * * @author LEE * @copyright Copyright © 2016 - 2020年 lee. All rights reserved. - * @version V1.6.0 + * @version V1.6.1 */ #ifndef LEEAlertHelper_h diff --git a/UPDATELOG.md b/UPDATELOG.md index 1b6c353..86f99ab 100644 --- a/UPDATELOG.md +++ b/UPDATELOG.md @@ -1,6 +1,10 @@ # LEEAlert - 更新日志 +V1.6.1 +============== +尝试解决iOS16 Window旋转问题 + V1.6.0 ============== 重构内部布局