Xamarin Development iOS Notes: Input box is obscured when switching ime

Source: Internet
Author: User

In the process of developing iOS, there is an interactive interface like a circle of friends that users can comment on when they encounter something they are interested in. To facilitate comment input, the comment input box is automatically moved to the top of the keyboard when the Comment input box appears, so that it is easy to enter and view.

When the user hides the keyboard or switches the input method, it is necessary to change the position of the entry box, where the keyboard monitoring method needs to be set.

Effects such as:

The implementation method can refer to the example provided by Xamarin, as shown in the source code example:

Https://github.com/xamarin/monotouch-samples/blob/master/BubbleCell/BubbleCell/ChatViewController.cs

Xamarin Development iOS Notes: Input box is obscured when switching ime

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.