Guest User

Untitled

a guest
Jul 18th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. CGFloat CGContextShadowOrientationYMultiplier() {
  2. static CGFloat sharedMultiplier__ = 0.0;
  3.  
  4. if (sharedMultiplier__ == 0.0) {
  5. NSString *version = [UIDevice currentDevice].systemVersion;
  6. sharedMultiplier__ = ([version compare:@"3.2"] == NSOrderedAscending) ? 1.0f : -1.0f;
  7. }
  8.  
  9. return sharedMultiplier__;
  10. }
Add Comment
Please, Sign In to add comment