Device battery indicators on your Lock Screen
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

KAIStackView.mm 462B

4 vuotta sitten
4 vuotta sitten
4 vuotta sitten
123456789101112131415161718192021
  1. #import "KAIStackView.h"
  2. @implementation KAIStackView
  3. -(id)initWithFrame:(CGRect)arg1 {
  4. self = [super initWithFrame:arg1];
  5. self.translatesAutoresizingMaskIntoConstraints = NO;
  6. return self;
  7. }
  8. -(void)addSubview:(UIView *)arg1 {
  9. [super addSubview:arg1];
  10. [(UIScrollView *)self.superview setContentSize:self.frame.size];
  11. }
  12. -(void)layoutSubviews {
  13. [super layoutSubviews];
  14. [(KAIBatteryPlatter *)(self.superview) calculateHeight];
  15. }
  16. @end