Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/swift/19.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
iOS-状态栏中的效果_Ios_Swift - Fatal编程技术网

iOS-状态栏中的效果

iOS-状态栏中的效果,ios,swift,Ios,Swift,我需要在状态栏中显示此加载效果。如何做到这一点? 视频是在iPhone XS Max上录制的。最简单的方法是使用或在顶部添加图像视图 或者您可以使用UIBezierPath

我需要在状态栏中显示此加载效果。如何做到这一点?
视频是在iPhone XS Max上录制的。

最简单的方法是使用或在顶部添加图像视图

或者您可以使用
UIBezierPath