Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
[iOS] On iOS "status_bar_height" is not need, remove it to make threa…
Browse files Browse the repository at this point in the history
…d checker happy. (#2108)
  • Loading branch information
wqyfavor authored and doumafang committed Feb 12, 2019
1 parent f4aea82 commit 979d562
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ios/sdk/WeexSDK/Sources/Bridge/WXCoreBridge.mm
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 979d562

Please sign in to comment.