Skip to content

Commit

Permalink
修复对自定义视图产生的影响
Browse files Browse the repository at this point in the history
  • Loading branch information
lixiang1994 committed Nov 8, 2022
1 parent 138d05b commit bdf8b18
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 16 deletions.
2 changes: 1 addition & 1 deletion LEEAlert.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "LEEAlert"
s.version = "1.6.3"
s.version = "1.6.4"
s.summary = "优雅的Alert ActionSheet"

s.homepage = "https://github.com/lixiang1994/LEEAlert"
Expand Down
2 changes: 1 addition & 1 deletion LEEAlert/LEEAlert.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
* @author LEE
* @copyright Copyright © 2016 - 2020年 lee. All rights reserved.
* @version V1.6.3
* @version V1.6.4
*/

#import <Foundation/Foundation.h>
Expand Down
14 changes: 1 addition & 13 deletions LEEAlert/LEEAlert.m
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
* @author LEE
* @copyright Copyright © 2016 - 2020年 lee. All rights reserved.
* @version V1.6.3
* @version V1.6.4
*/

#import "LEEAlert.h"
Expand Down Expand Up @@ -2320,10 +2320,6 @@ - (void)updateAlertLayoutWithViewWidth:(CGFloat)viewWidth ViewHeight:(CGFloat)vi
}
}

[self.itemsScrollView layoutIfNeeded];

[self.actionsScrollView layoutIfNeeded];

self.contentView.frame = contentViewFrame;

CGFloat tempAlertViewY = keyboardY - contentViewFrame.size.height - 10;
Expand Down Expand Up @@ -2405,10 +2401,6 @@ - (void)updateAlertLayoutWithViewWidth:(CGFloat)viewWidth ViewHeight:(CGFloat)vi
}
}

[self.itemsScrollView layoutIfNeeded];

[self.actionsScrollView layoutIfNeeded];

self.contentView.frame = contentViewFrame;

CGRect containerFrame = self.containerView.frame;
Expand Down Expand Up @@ -3266,10 +3258,6 @@ - (void)updateActionSheetLayoutWithViewWidth:(CGFloat)viewWidth ViewHeight:(CGFl
}
}

[self.itemsScrollView layoutIfNeeded];

[self.actionsScrollView layoutIfNeeded];

self.contentView.frame = contentViewFrame;

if (self.actionSheetCancelAction) {
Expand Down
2 changes: 1 addition & 1 deletion LEEAlert/LEEAlertHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*
* @author LEE
* @copyright Copyright © 2016 - 2020年 lee. All rights reserved.
* @version V1.6.3
* @version V1.6.4
*/

#ifndef LEEAlertHelper_h
Expand Down
4 changes: 4 additions & 0 deletions UPDATELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@

# LEEAlert - 更新日志

V1.6.4
==============
修复对自定义视图产生的影响

V1.6.3
==============
增加 `.LeeIsShowsScrollIndicator(YES)` 设置是否显示滑动指示器
Expand Down

0 comments on commit bdf8b18

Please sign in to comment.