A toggle switch or some mechanism to choose the hotbar location woukd be a good way to address this. Older iphones that still have a physical button will not be affected by this, and will probably want the hotbar to stay where it is. Newer iphones (and all future iphone releases) have this issue.
Could not screencap because the ios swipe bar does not appear in screencaps