iOS: enhancement for status bar height retrieval
This commit is contained in:
@@ -103,7 +103,7 @@ - (instancetype)init {
|
||||
@"screenWidth": @(screenWidth),
|
||||
@"screenHeight": @(screenHeight),
|
||||
@"screenScale": @([[UIScreen mainScreen] scale]),
|
||||
@"statusBarHeight": @([[UIApplication sharedApplication] statusBarFrame].size.height),
|
||||
@"statusBarHeight": @(systemStatusBarHeight()),
|
||||
@"hasNotch": @(hasNotch()),
|
||||
@"deviceBrand": @"Apple",
|
||||
@"deviceModel": platform,
|
||||
|
Reference in New Issue
Block a user