Forum Xamarin.iOS
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

UIWebView Creates empty space below textfield when keyboard appears

EswaraprabuEswaraprabu Member ✭✭
edited April 23 in Xamarin.iOS



I'm using UIWebView in Xamarin iOS for loading my webpage

When the keyboard appears extra space appearing between textfield and keyboard, I need to remove the unwanted space, Kindly help on this. Thanks in Advance

Best Answer

Answers

  • LandLuLandLu Member, Xamarin Team Xamurai

    Have you tried this approach on the webpage side:
    https://stackoverflow.com/a/13832007/8354952
    It could manually set the offset of the scroll view to (0, 0).

  • EswaraprabuEswaraprabu Member ✭✭

    Hi LandLu,

    Thanks for the suggestion.

    In my situation I don't have the control of the webpage. I'm only loading the url in UIWebView. Is their any way we can control it from UIWebview delegate in Xamarin ios

Sign In or Register to comment.