Keyboard Overlapping button in iOS.

BhautikBhautik Member ✭✭✭

Hello,
I have implemented one app which contains Entry(Textbox) on the center of the screen and one button at bottom of the screen. Whenever I tap on an entry keyboard overlapped my button and I am not able to click on the button. For Android, I am Using Following setting.

App.Current.On<Xamarin.Forms.PlatformConfiguration.Android>().UseWindowSoftInputModeAdjust(WindowSoftInputModeAdjust.Resize);

Is there any similar setting available for iOS?

Answers

  • andnesandnes USMember ✭✭

    I'm guessing you want the same functionality on iOS as on Android, where on Android the entire view is pushed up so that both the keyboard and input field is visible. If so, the easiest way to achieve this for iOS is to wrap your entire view in a ScrollView. That way iOS will be able to "push"/scroll the view when you click the input field so that the keyboard doesn't overlap it.

  • ReemaGargReemaGarg INMember ✭✭

    @Bhautik set the whole layout in scroll view when keyboard opens whole layout will scroll up automatically

  • ThomasPauchardThomasPauchard USMember ✭✭

    And what about with a page containing a listview ??

Sign In or Register to comment.