Closed inghamn closed 11 years ago
This works fine on the iPhone 5, but on earlier, shorter phones, the top gets cropped off.
Fixed in 1103849fe9cd233de434c4ef47b5e8476f806490. I added a scrollview as the root of the AboutController. This seemed to fix it :).
Thanks for taking a look. I was hoping it was some simple thing.
Now the bottom is cropped off, and you cannot scroll down without it snapping back.
I don't think it should need a scrollview. The webview is scrollable all by itself. I might try just having the top limit and see if that helps.
Webview doesn't allow setting contentOffset. I think it might be simplest to just add some CSS to the about.html that moves the content down the page a bit.
I think I found a way around it somehow. I got rid of the scroll view and changed the translucent property of the navigation bar. It seems to be ok now. Not really sure why, but everything seems fine :). I'm pushing a commit now
It seems when you have a translucent navigationBar, the content area for child views goes underneath the navigationBar. ScrollViews have a setting for contentOffset to account for this, however webViews do not.
Pushed d858e1eaf9b47f6b9932847b28de4e39f73267ea. This seems to fix it. Will close this issue if everything is fine
That fixed it!. Thanks for the help. I'm going to try and get this submitted to the app store today.
The webview for the about screen is going underneath the navigationBar. Because of this, the top of about page is not visible, since it is covered by the navigationBar.
We need for the webview to not go underneath the navigationBar.