Getting the Height of the StatusBar in iOS
Here's the snippet:
CGFloat getStatusBarHeight(){
CGSize statusBarSize = [[UIApplication sharedApplication] statusBarFrame].size;
return MIN(statusBarSize.width, statusBarSize.height);
}
Here's the snippet:
CGFloat getStatusBarHeight(){
CGSize statusBarSize = [[UIApplication sharedApplication] statusBarFrame].size;
return MIN(statusBarSize.width, statusBarSize.height);
}