Device battery indicators on your Lock Screen
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

KAIBatteryStack.h 478B

4 年前
4 年前
123456789101112
  1. @interface KAIBatteryStack : UIStackView
  2. @property (nonatomic, strong) NSMutableArray *displayingDevices;
  3. @property (nonatomic, assign) NSInteger number;
  4. @property (nonatomic, assign) NSInteger oldCountOfDevices;
  5. @property (nonatomic, strong) NSLayoutConstraint *heightConstraint;
  6. @property (nonatomic, assign) BOOL isUpdating;
  7. @property (nonatomic, assign) BOOL queued;
  8. +(KAIBatteryStack *)sharedInstance;
  9. -(instancetype)init;
  10. -(void)refreshForPrefs;
  11. -(void)updateBattery;
  12. @end