Latest Apple Version The UICatalog sample application includes null code in the TextFieldController to handle show / hide events on the keyboard, and yet the table view still slides up and down beautifully using the keyboard.
Does anyone know what a new trick is? Does XIB have settings that allow them to register for notifications or using the TextField delegation methods?
TextViewController still uses keyboard notifications to cope with the unfolding of the view, so I'm very confused about why this is no longer included in TextFields.
Thoughts?
becomeFirstResponder UITextField, . -, [textField becomeFirstResponder] iOS , textField.
becomeFirstResponder
UITextField
[textField becomeFirstResponder]
textField
, , UIScrollView scrollRectToVisible:animated:, - .
UIScrollView
scrollRectToVisible:animated:
!
, , :
[sender resignFirstResponder];
.
Source: https://habr.com/ru/post/1735997/More articles:help translate this query for a week from Oracle PL / SQL to SQL Server 2008 - sqlSession management and linking user accounts with OpenID, in ASP.NET - c #WinForm - WPF integration; Piece by piece - .netSQL is equivalent to LEFT JoIn? - sqljQuery animation background position in pieces? - jquerynHibernate in IIS 7, SQLClientPermissionException - c #How can I keep my MVC views, models, and model bindings as clean as possible? - asp.net-mvcHow to transfer DDL changes from one environment to another? - sqlPlay video in SWT app? - swtWhy doesn't my .NET Windows service start automatically sometimes? - windowsAll Articles