UIStatusBarItemView.h 982 B

1234567891011121314151617181920212223242526272829
  1. typedef NS_ENUM(NSUInteger, UIStatusBarItemViewTextStyle) {
  2. UIStatusBarItemViewTextStyleRegular = 1,
  3. UIStatusBarItemViewTextStyleBold = 3
  4. };
  5. typedef NSUInteger UIStatusBarItemViewActions; // TODO
  6. @class UIStatusBarItem, UIStatusBarForegroundStyleAttributes, UIStatusBarLayoutManager, _UILegibilityImageSet;
  7. @interface UIStatusBarItemView : UIView
  8. - (instancetype)initWithItem:(UIStatusBarItem *)item data:(id)data actions:(UIStatusBarItemViewActions)actions style:(UIStatusBarForegroundStyleAttributes *)style;
  9. - (_UILegibilityImageSet *)imageWithShadowNamed:(NSString *)imageName;
  10. - (_UILegibilityImageSet *)imageWithText:(NSString *)text;
  11. - (_UILegibilityImageSet *)contentsImage;
  12. - (CGFloat)updateContentsAndWidth;
  13. @property (nonatomic, retain) UIStatusBarForegroundStyleAttributes *foregroundStyle;
  14. @property (nonatomic, retain) UIStatusBarLayoutManager *layoutManager;
  15. @property BOOL persistentAnimationsEnabled;
  16. @property (readonly) CGFloat standardPadding;
  17. @end