Skip to content

Commit 127c6c2

Browse files
committed
SWActionSheet - 转屏问题
1 parent 0c97fa5 commit 127c6c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Coding_iOS/Vendor/ActionSheetPicker/SWActionSheet.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
static const enum UIViewAnimationOptions options = UIViewAnimationOptionCurveEaseIn;
1515

1616

17-
@interface SWActionSheetVC : UIViewController
17+
@interface SWActionSheetVC : BaseViewController
1818

1919
@property (nonatomic, retain) SWActionSheet *actionSheet;
2020

@@ -173,6 +173,7 @@ - (void)setActionSheet:(SWActionSheet *)actionSheet
173173
- (void)viewWillAppear:(BOOL)animated
174174
{
175175
[super viewWillAppear:animated];
176+
self.view.backgroundColor = [UIColor clearColor];
176177
[self presentActionSheetAnimated:YES];
177178
}
178179

0 commit comments

Comments
 (0)