HTML5 game (Haxe, openfl) faced a problem on iPhone

I’m porting game to HTML5 using Haxe and
faced a problem on iPhone - the program is 800х600 and it gets
overlapped by the browser navigation panels in Safari. I saw other games
with the same issue and the games that worked fine too.
Has anybody faced the same issue and how to fix it? Thanks.
Whether there is a decision?