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);
}By Niall Kader1 min read
Here's the snippet:
CGFloat getStatusBarHeight(){
CGSize statusBarSize = [[UIApplication sharedApplication] statusBarFrame].size;
return MIN(statusBarSize.width, statusBarSize.height);
}