萤石云 iOSSDK,移植跨平台相关工程
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//
//  UISegmentedControl+DDKit.h
//  DDCategory
//
//  Created by DeJohn Dong on 15-3-20.
//  Copyright (c) 2015年 DDKit. All rights reserved.
//
 
#import <UIKit/UIKit.h>
 
@interface UISegmentedControl (DDKit)
 
@end
 
@interface UISegmentedControl (DDFlatten)
 
#if (defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && __IPHONE_OS_VERSION_MIN_REQUIRED <= 60000)
 
/**
 *  iOS6中使用UISegmentedControl 扁平化
 */
- (void)dd_flattenIniOS6;
 
/**
 *  iOS6中使用UISegmentedControl 扁平化 设置选中颜色
 *
 *  @param selectedColor 选中颜色
 */
- (void)dd_flattenIniOS6:(UIColor *)selectedColor;
 
#endif
 
@end