Agregando UISearchBar en el encabezado de tableView como subvista
Estoy tratando de agregar un encabezado personalizado paraUITableView
, que tiene unos botones y unaUISearchBar
. El problema es que cuando intento usar searchBar me aparece un mensaje:
setting the first responder view of the table but we don't know its type (cell/header/footer)
¿Alguien ha encontrado tal problema?