SSUIShareActionSheetStyle.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. //
  2. // SSUIShareActionSheetStyle.h
  3. // ShareSDKUI
  4. //
  5. // Created by 刘 靖煌 on 15/7/15.
  6. // Copyright (c) 2015年 mob. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import <UIKit/UIKit.h>
  10. @interface SSUIShareActionSheetStyle : NSObject
  11. /**
  12. * ShareSDK UI风格
  13. */
  14. typedef NS_ENUM(NSInteger, ShareActionSheetStyle) {
  15. ShareActionSheetStyleSystem = 0, // 系统类型,默认
  16. ShareActionSheetStyleSimple = 1, // 简洁类型
  17. };
  18. /**
  19. * 设置ShareSDK UI风格
  20. */
  21. + (void)setShareActionSheetStyle:(ShareActionSheetStyle)style;
  22. /**
  23. * 设置分享菜单栏颜色
  24. *
  25. * @param color 背景颜色
  26. */
  27. + (void)setActionSheetColor:(UIColor *)color;
  28. /**
  29. * 设置分享菜单栏的背景颜色
  30. *
  31. * @param color 背景颜色
  32. */
  33. + (void)setActionSheetBackgroundColor:(UIColor *)color;
  34. /**
  35. * 设置标题文本颜色
  36. */
  37. + (void)setItemNameColor:(UIColor *)color;
  38. /**
  39. * 设置标题文本字体
  40. */
  41. + (void)setItemNameFont:(UIFont *)font;
  42. /**
  43. * 设置取消按钮标签文本颜色
  44. *
  45. * @param color 颜色
  46. */
  47. + (void)setCancelButtonLabelColor:(UIColor *)color;
  48. /**
  49. * 设置取消按钮标签字体
  50. */
  51. + (void)setCancelButtonBackgroundColor:(UIColor *)color;
  52. /**
  53. * 设置UIPageControl的Indicator的颜色
  54. */
  55. + (void)setPageIndicatorTintColor:(UIColor *)color;
  56. /**
  57. * 设置UIPageControl当前页的Indicator的颜色
  58. */
  59. + (void)setCurrentPageIndicatorTintColor:(UIColor *)color;
  60. /**
  61. * 设置支持的页面方向(单独控制分享菜单栏)
  62. */
  63. + (void)setSupportedInterfaceOrientation:(UIInterfaceOrientationMask)toInterfaceOrientation;
  64. /**
  65. * 设置分享菜单栏状态栏风格
  66. */
  67. + (void)setStatusBarStyle:(UIStatusBarStyle)statusBarStyle;
  68. /**
  69. * 取消按钮是否隐藏,默认不隐藏
  70. */
  71. + (void)isCancelButtomHidden:(BOOL)isCancelButtomHidden;
  72. @end