本文从【增强】模块入手介绍一下界面设计和功能实现。所有功能都已实现,部分功能有待改善,我会在以后时间中步步改善。目前效果也很棒。有兴趣的可以在文章最后提供的下载链接中下载并运行。模拟器最好使用iphone6模拟器【增强】功能包含如下功能 1.亮度 2.对比度 3.色温 4 ...
本文从【增强】模块入手介绍一下界面设计和功能实现。所有功能都已实现,部分功能有待改善,我会在以后时间中步步改善。目前效果也很棒。有兴趣的可以在文章最后提供的下载链接中下载并运行。模拟器最好使用iphone6模拟器【增强】功能包含如下功能
1.亮度
2.对比度
3.色温
4.饱和度
5.高光
6.暗部
7.智能补光
涉及开发技巧
效果bar的实现
UISlider的使用
GPUImage的使用
一、自定义bar
点击一个效果按钮时,该按钮变为高亮状态,而前面的按钮自动恢复到正常状态
代码实现
#import <UIKit/UIKit.h>@class FWEffectBar, FWEffectBarItem;@protocol FWEffectBarDelegate <NSObject>- (void)effectBar:(FWEffectBar *)bar didSelectItemAtIndex:(NSInteger)index;@end@interface FWEffectBar : UIScrollView@property (nonatomic, assign) id<FWEffectBarDelegate> delegate;@property (nonatomic, copy) NSArray *items;@property (nonatomic, weak) FWEffectBarItem *selectedItem;@property UIEdgeInsets contentEdgeInsets;/** * Sets the height of tab bar. */- (void)setHeight:(CGFloat)height;/** * Returns the minimum height of tab bar's items. */- (CGFloat)minimumContentHeight;@end
原标题:美图秀秀美化图片之【增强】模块界面与功能设计
关键词:图片
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们:
admin#shaoqun.com
(#换成@)。