Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 697 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 697 Bytes

NightStyleTransition

xcode swift build

一种很流畅自然的切换夜间模式的交互方式,通过简单的一句话就能集成双指上下滑切换模式。


集成

下载解压后将NightStyleTransition文件夹拖到项目中。

使用

view.configNightStylePanGestureRecognizer()

感谢

夜间模式切换使用了Draveness的方案NightNight,感谢🙏。