package funkin.external.ios; #if ios /** * A Utility class to get iOS screen related informations. */ @:build(funkin.util.macro.LinkerMacro.xml('project/Build.xml')) @:include('ScreenUtil.hpp') @:unreflective extern class ScreenUtil { @:native('getSafeAreaInsets') static function getSafeAreaInsets(top:cpp.RawPointer, bottom:cpp.RawPointer, left:cpp.RawPointer, right:cpp.RawPointer):Void; @:native('getScreenSize') static function getScreenSize(width:cpp.RawPointer, height:cpp.RawPointer):Void; } #end