Updated readme

This commit is contained in:
Goktug Yilmaz 2016-03-01 16:54:24 -08:00
parent 506e719f48
commit 65423309d5
1 changed files with 8 additions and 0 deletions

View File

@ -74,6 +74,14 @@ Easily access your screen traitCollections:
print(ez.verticalSizeClass) // regular on iPhone6
print(ez.horizontalSizeClass) // compact on iPhone6
```
Easily access your screen traitCollections:
``` swift
print(ez.screenWidth) // 375.0 on iPhone6
print(ez.screenHeight) // 667.0 on iPhone6
```
Easily access your status bar height:
``` swift