From 979d5629932774a7b408af526b422fe96d9bf827 Mon Sep 17 00:00:00 2001 From: wqyfavor Date: Tue, 12 Feb 2019 14:29:41 +0800 Subject: [PATCH] [iOS] On iOS "status_bar_height" is not need, remove it to make thread checker happy. (#2108) --- ios/sdk/WeexSDK/Sources/Bridge/WXCoreBridge.mm | 1 - 1 file changed, 1 deletion(-) diff --git a/ios/sdk/WeexSDK/Sources/Bridge/WXCoreBridge.mm b/ios/sdk/WeexSDK/Sources/Bridge/WXCoreBridge.mm index c65aad5611..1802d3f3fa 100644 --- a/ios/sdk/WeexSDK/Sources/Bridge/WXCoreBridge.mm +++ b/ios/sdk/WeexSDK/Sources/Bridge/WXCoreBridge.mm @@ -736,7 +736,6 @@ + (void)install env->SetDeviceHeight(std::to_string(screenSize.height)); env->AddOption("screen_width_pixels", std::to_string(screenSize.width)); env->AddOption("screen_height_pixels", std::to_string(screenSize.height)); - env->AddOption("status_bar_height", std::to_string([[UIApplication sharedApplication] statusBarFrame].size.height)); platformBridge = new WeexCore::PlatformBridge(); platformBridge->set_platform_side(new WeexCore::IOSSide());