Hi,
I’m testing the various functionality for developing a web app targeting mobile devices.
I have seen that setting the correct viewport, I can realize a full-size, non scrolling page that adapts well for the various mobile devices screen sizes.
when a scrolling is needed ( i. e. for a list of items ) I’m using Webcontrolwrapper copntrols, where I set the list of items using html ul - li tags, and some custom css, this way I have a more control and better performances compared to using weblistboxes.
So, as I said my pages are the full size of the screen and there is no need of scrolling them, and here comes my problem with ios devices:
safari mobile have a bottom bar, that covers the end of my page.
I have thinked to use the shown event to resize or move some controls to adapt to this, such as:
if Session.Browser = WebSession.BrowserType.SafariMobile then
myWebcontrolWrapper.height = myWebcontrolWrapper.height.Page.Height - myWebcontrolWrapper.height.top - 44 // assuming bottom bar of 44 pixels
end if
but this does not work, it seems that the controls are not resized at run time.
I have also seen around if there is some css / javascript trick to hide the bottom bar of mobile safari, but it seems that there is not a reliable way.
any idea?
thanks
Giulio