Skip to content

Commit

Permalink
3
Browse files Browse the repository at this point in the history
  • Loading branch information
hepburn2000 committed Jun 4, 2019
1 parent 0bf49ff commit 6a2d9d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions LockScreenView/LockScreenHeader.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
#define IsiPadUI (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
#endif

#ifndef kStatusBarHeight
#define kStatusBarHeight [[UIApplication sharedApplication] statusBarFrame].size.height
#endif

#ifndef CGFAF
#define CGFAF(a) a*(MIN(MIN([UIScreen mainScreen].bounds.size.width, [UIScreen mainScreen].bounds.size.height)/320.0, 2.0))
#endif
Expand Down

0 comments on commit 6a2d9d7

Please sign in to comment.