Declared in UIScreen+TKCategory.h
UIScreen+TKCategory.m

Overview

Additional functionality for UIScreen.

Properties

onePixelSize

The point size of one pixel on screen. (ie. @1x => 1, @2x => 0.5)

@property (nonatomic, readonly) CGFloat onePixelSize

Declared In

UIScreen+TKCategory.h

Instance Methods

setBrightness:animated:

Animate the screen brightness change.

- (void)setBrightness:(CGFloat)brightness animated:(BOOL)animated

Parameters

brightness

The brightness (from 0.0 to 1.0) the screen should illuminate to.

animated

Animate the screen brightness change.

Declared In

UIScreen+TKCategory.h