There is no any restriction on it by apple, but main intention to add accessoryView
property in UITableViewCell
class, to be used, typically as a control, on the right side of the cell (normal state).
Following sentence taken from the apple document:
If the value of this property is not nil, the UITableViewCell class uses the given view for the accessory view in the table view’s normal (default) enter code here
state; it ignores the value of the accessoryType
property. The provided accessory view can be a framework-provided control or label or a custom view. The accessory view appears in the right side of the cell.
According to this statement you can provideUITextField
(framework-provided control) as accessoryView
.