longitachi / ZLPhotoBrowser

Wechat-like image picker. Support select photos, videos, gif and livePhoto. Support edit image and crop video. 微信样式的图片选择器,支持预览/相册内拍照及录视频、拖拽/滑动选择,编辑图片/视频,支持多语言国际化等功能;
MIT License
4.71k stars 950 forks source link

navBarColor和bottomToolViewBgColor方法在真机上不生效 #816

Closed hahaha28 closed 1 year ago

hahaha28 commented 1 year ago

具体属性设置为: ZLPhotoConfiguration.default() .allowSelectVideo(false) .allowSelectGif(false) .allowEditImage(false) // 编辑图片 .allowSlideSelect(false) .allowDragSelect(false) .allowTakePhotoInLibrary(false) .showSelectedIndex(true) .allowSelectOriginal(false) // 没有原图选择按钮 .alwaysRequestOriginal(true) // 默认选原图 .maxSelectCount(9)

ZLPhotoUIConfiguration.default() .languageType(ZLLanguageType.chineseSimplified) .navBarColor(UIColor.red) .bottomToolViewBgColor(UIColor.red)

其中 navBarColor(UIColor.red) 和 bottomToolViewBgColor(UIColor.red) 属性在真机不生效,在模拟器生效 真机为 iphone14,系统是ios16.0.2 模拟器为 iphone14 pro 系统是ios16.4 希望大佬看一下,谢谢

image

image

longitachi commented 1 year ago

https://github.com/longitachi/ZLPhotoBrowser/blob/15c2102b096123bd551fe11093fb18f304d93ea6/Sources/General/ZLPhotoUIConfiguration.swift#L99-L109 上方有一层毛玻璃效果,可将对应属性置为nil

hahaha28 commented 1 year ago

https://github.com/longitachi/ZLPhotoBrowser/blob/15c2102b096123bd551fe11093fb18f304d93ea6/Sources/General/ZLPhotoUIConfiguration.swift#L99-L109

上方有一层毛玻璃效果,可将对应属性置为nil

感谢作者回复,ios小白昨天看了好久后发现了