摘要:
PS:对于 Camera 选项,会调用摄像头,需要真机才能测试。效果如下:ViewController.h1 #import 2 3 @interface ViewController : UIViewController 4 @property (strong, nonatomic) UIImag... 阅读全文
posted @ 2015-06-17 18:36
KenmuHuang
阅读(271)
评论(0)
推荐(0)
摘要:
实现图片的老旧、色彩、旋转效果 (1)使用 StoryBoard 故事版布局界面;(2)使用 Core Image 框架的 CIFilter 过滤器;分别对应的过滤器名称是:CISepiaTone(棕黑色调)、CIHueAdjust(色彩调整)、CIStraightenFilter(纠正过滤器); ... 阅读全文
posted @ 2015-06-17 18:21
KenmuHuang
阅读(1362)
评论(0)
推荐(0)
摘要:
效果如下:ViewController.h1 #import 2 #import 3 4 @interface ViewController : UIViewController5 @property (strong, nonatomic) IBOutlet UIButton *btnPlayMov... 阅读全文
posted @ 2015-06-17 18:08
KenmuHuang
阅读(1014)
评论(0)
推荐(0)
摘要:
实现同样效果,更简单的方式如之前写的这篇随笔:使用 UICollectionView 实现网格化视图效果 实现思路:(1)自定义继承 UITableView的 KMGridView,定义并实现类似 UITableView 的数据源和委托协议;计算每行的单元格个数宽度,实现等比间距(2)使用 Stor... 阅读全文
posted @ 2015-06-17 18:02
KenmuHuang
阅读(265)
评论(0)
推荐(0)
摘要:
效果如下:ViewController.h1 #import 2 3 @interface ViewController : UIViewController4 @endViewController.m 1 #import "ViewController.h" 2 #import "KMTriang... 阅读全文
posted @ 2015-06-17 17:43
KenmuHuang
阅读(279)
评论(0)
推荐(0)
摘要:
效果如下:ViewController.h1 #import 2 3 @interface ViewController : UIViewController4 @property (strong, nonatomic) UIImage *imgSnowflake;5 6 @endViewContr... 阅读全文
posted @ 2015-06-17 17:38
KenmuHuang
阅读(778)
评论(0)
推荐(0)
摘要:
效果如下:ViewController.h1 #import 2 3 @interface ViewController : UIViewController4 @property (strong, nonatomic) UIImageView *imgVAnimation;5 6 @endView... 阅读全文
posted @ 2015-06-17 17:20
KenmuHuang
阅读(413)
评论(0)
推荐(0)

浙公网安备 33010602011771号
感谢您的阅读,敬请关注我的后续博客文章