문제

I have a View Controller that have a tableView inside it which has different data in it . when inside the search bar I search for a data in the table, it remove other data and just show the data i was looking for. when i click on the data it push to next view. Everything looks fine but when I go back to the view the tableview will be disappears ! The funny thing in the same app I have other similar view with similar code, but it's ok over there. anyone knows whats wrong with it ?!

도움이 되었습니까?

해결책

in the didSelectRowAtIndexPath i added [mySearchBar resignFirstResponder]; which is my searchbar's textfield and it's ok now , thanks for answers guys

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top