1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- //
- // 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 label 右边按钮
- */
- + (void)setRightButton:(UIButton *)button;
- /**
- * 设置导航栏右边按钮的右边距
- *
- * @param margin 边距
- */
- + (void)setRightButtonRightMargin:(CGFloat)margin;
- /**
- * 设置支持的页面方向
- */
- + (void)setSupportedInterfaceOrientation:(UIInterfaceOrientationMask)toInterfaceOrientation;
- /**
- * 设置状态栏样式
- *
- * @param style 样式
- */
- + (void)setStatusBarStyle:(UIStatusBarStyle)style;
- @end
|