This version of Unity is unsupported.

PlayerSettings.statusBarHidden

Switch to Manual
public static bool statusBarHidden;

Description

Returns if status bar should be hidden. Supported on iOS only; on Android, the status bar is always hidden.