File tree 3 files changed +42
-52
lines changed
ZFRippleButtonDemo/Base.lproj
ZFRippleButtonDemo.xcodeproj
3 files changed +42
-52
lines changed Original file line number Diff line number Diff line change @@ -81,9 +81,9 @@ open class ZFRippleButton: UIButton {
81
81
82
82
rippleBackgroundView. backgroundColor = rippleBackgroundColor
83
83
rippleBackgroundView. frame = bounds
84
- layer. addSublayer ( rippleBackgroundView. layer)
85
- rippleBackgroundView. layer. addSublayer ( rippleView. layer)
84
+ rippleBackgroundView. addSubview ( rippleView)
86
85
rippleBackgroundView. alpha = 0
86
+ addSubview ( rippleBackgroundView)
87
87
88
88
layer. shadowRadius = 0
89
89
layer. shadowOffset = CGSize ( width: 0 , height: 1 )
Original file line number Diff line number Diff line change 353
353
buildSettings = {
354
354
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
355
355
INFOPLIST_FILE = ZFRippleButtonDemo/Info.plist;
356
- IPHONEOS_DEPLOYMENT_TARGET = 7.1 ;
356
+ IPHONEOS_DEPLOYMENT_TARGET = 8.0 ;
357
357
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
358
358
PRODUCT_NAME = "$(TARGET_NAME)";
359
359
SWIFT_VERSION = 3.0;
365
365
buildSettings = {
366
366
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
367
367
INFOPLIST_FILE = ZFRippleButtonDemo/Info.plist;
368
- IPHONEOS_DEPLOYMENT_TARGET = 7.1 ;
368
+ IPHONEOS_DEPLOYMENT_TARGET = 8.0 ;
369
369
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
370
370
PRODUCT_NAME = "$(TARGET_NAME)";
371
371
SWIFT_VERSION = 3.0;
You can’t perform that action at this time.
0 commit comments