iOS自带的毛玻璃的效果
来源:互联网 发布:一级建造师学习软件 编辑:程序博客网 时间:2024/05/12 04:42
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
// Override point for customization after application launch.
self.window.backgroundColor = [UIColor whiteColor];
[self.window makeKeyAndVisible];
UIScrollView *scrollView = [[UIScrollView alloc] initWithFrame:self.window.bounds];
UIVisualEffectView *view = [[UIVisualEffectView alloc] initWithEffect:[UIBlurEffect effectWithStyle:UIBlurEffectStyleDark]];
view.frame = CGRectMake(0, 0, 375, 500);
[scrollView addSubview:view];
scrollView.contentOffset = CGPointMake(0, 500);
scrollView.contentSize = CGSizeMake(375, 10000);
[self.window addSubview:scrollView];
return YES;
}
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
// Override point for customization after application launch.
self.window.backgroundColor = [UIColor whiteColor];
[self.window makeKeyAndVisible];
UIScrollView *scrollView = [[UIScrollView alloc] initWithFrame:self.window.bounds];
UIVisualEffectView *view = [[UIVisualEffectView alloc] initWithEffect:[UIBlurEffect effectWithStyle:UIBlurEffectStyleDark]];
view.frame = CGRectMake(0, 0, 375, 500);
[scrollView addSubview:view];
scrollView.contentOffset = CGPointMake(0, 500);
scrollView.contentSize = CGSizeMake(375, 10000);
[self.window addSubview:scrollView];
return YES;
}
0 0
- iOS自带的毛玻璃的效果
- iOS8 苹果自带的毛玻璃效果
- iOS系统自带毛玻璃效果
- iOS 8系统自带毛玻璃效果实现
- iOS开发UIBlurEffect系统自带毛玻璃效果
- iOS毛玻璃效果的实现
- 研究IOS毛玻璃的效果
- ios自带的动画效果
- ios自带的模糊效果
- UIBlurEffect系统自带毛玻璃效果
- iOS毛玻璃效果的简单实现
- IOS关于毛玻璃效果的使用
- Android 自带阻尼效果的ScrollView,仿ios效果
- WPF 的毛玻璃效果
- iOS去掉icon的(自带磨光效果)gloss effects
- iOS去掉icon的(自带磨光效果)gloss effects
- iOS去掉icon的(自带磨光效果)gloss effects
- iOS去掉icon的(自带磨光效果)gloss effects
- 使用MyEclipse构建MAVEN项目
- android设计模式之--观察者模式
- 精讲全面解读第六章图数据结构c++版
- 中国三大运营商相关信息
- c/c++基础(二十一) 命名空间
- iOS自带的毛玻璃的效果
- acdream 1429 Rectangular Polygon【dp】
- 第五章
- makefile详解 书写命令
- 架构的扩展性好重要
- 黑马程序员——JAVA基础--- 集合IO综合练习排序问题
- poj1655 Balancing Act(树形dp)
- 四.交叉开发相关
- Leetcode: Find Minimum in Rotated Sorted Array