75d24c15
yangbin
123
|
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
|
//
// SSDKAuthViewStyle.h
// ShareSDK
//
// Created by fenghj on 15/4/13.
// Copyright (c) 2015年 掌淘科技. All rights reserved.
//
#import <Foundation/Foundation.h>
/**
* 授权视图样式
*/
@interface SSDKAuthViewStyle : NSObject
/**
* 设置导航栏背景
*
* @param image 背景图片
*/
+ (void)setNavigationBarBackgroundImage:(UIImage *)image;
/**
* 设置导航栏颜色
*
* @param color 背景颜色
*/
+ (void)setNavigationBarBackgroundColor:(UIColor *)color;
/**
* 设置标题
*
* @param title 标题
*/
+ (void)setTitle:(NSString *)title;
/**
* 设置标题文本颜色
*
* @param color 颜色
*/
+ (void)setTitleColor:(UIColor *)color;
/**
* 设置取消按钮标签
*
* @param label 取消按钮标签
*/
+ (void)setCancelButtonLabel:(NSString *)label;
/**
* 设置取消按钮标签文本颜色
*
* @param color 颜色
*/
+ (void)setCancelButtonLabelColor:(UIColor *)color;
/**
* 设置取消按钮图片
*
* @param image 图片
*/
+ (void)setCancelButtonImage:(UIImage *)image;
/**
* 设置取消按钮的左边距
*
* @param margin 边距
*/
+ (void)setCancelButtonLeftMargin:(CGFloat)margin;
/**
* 设置导航栏右边按钮
*
* @param button 右边按钮
*/
+ (void)setRightButton:(UIButton *)button;
/**
* 设置导航栏右边按钮的右边距
*
* @param margin 边距
*/
+ (void)setRightButtonRightMargin:(CGFloat)margin;
/**
* 设置支持的页面方向
*/
+ (void)setSupportedInterfaceOrientation:(UIInterfaceOrientationMask)toInterfaceOrientation;
/**
* 设置状态栏样式
*
* @param style 样式
*/
+ (void)setStatusBarStyle:(UIStatusBarStyle)style;
/**
* 设置标题
*
* @param shareTitle 分享标题
*/
+ (void)setShareTitle:(NSString *)shareTitle;
@end
|