-
Notifications
You must be signed in to change notification settings - Fork 0
Functions
William Towe edited this page May 10, 2017
·
1 revision
KDICGSizeAdjustedForMainScreenScale
returns a size appropriately scaled for the device screen, which is useful when dealing with images or APIs that expect a size to be specified in pixels instead of points. For example, KDICGSizeAdjustedForMainScreenScale(CGSizeMake(16,16))
would return CGSizeMake(32,32)
on a retina device.