self.blurEffect = [UIBlurEffect effectWithStyle:UIBlurEffectStyleLight];
self.diaryStartEditingBlurView = [[UIVisualEffectView alloc] initWithEffect:self.blurEffect];
self.diaryStartEditingBlurView.frame = CGRectMake(0, 0, kScreenWidth, kScreenHeight);
[self addSubview:self.diaryStartEditingBlurView];
本文介绍如何在iOS应用中为日记编辑视图添加自定义模糊效果,通过使用UIBlurEffect和UIVisualEffectView实现轻量级模糊背景,提升用户编辑体验。
517

被折叠的 条评论
为什么被折叠?



