Posts

Post marked as solved
12 Replies
4.3k Views
When a cell is scrolled out of view and is removed, uikit calls didenddisplayingcell. However, if that same cell has a uitextfield and the uitextfield is the first responder, didenddisplayingcell does not get called. If the user then taps a button to save the contents of all the cells and did not scroll the cell into the view, cellforrowatindexpath returns nil for that cell. How is it possible to identify when the cell is going to be hidden and removed from memory in this scenario?
Posted
by litehouse.
Last updated
.
Post not yet marked as solved
1 Replies
675 Views
UIInputView documentation says for the property allowsSelfResizing: When the value of this property is false (the default), UIKit determines an appropriate size of the input view based on its current layout. When the value of this property is true, UIKit honors the value returned by the systemLayoutSizeFitting(_:) method of the input view. I set up a subclass of UIInputView, but the systemLayoutSizeFitting never gets called. Is anyone aware of other steps I need to take to support this feature of having a custom keyboard view height.
Posted
by litehouse.
Last updated
.
Post marked as solved
1 Replies
259 Views
The method signature is as follows:handleInputModeList(from: UIView, with: UIEvent)I've overridden the touches methods in the UIControl view and passed that along to the function. The call returns successfully, but the menu does not display. If you've gotten this to work, please share your solution.I've also tried by calling on the touch up in side event, in that case the call changes to the next keyboard without showing the menu.
Posted
by litehouse.
Last updated
.