UISearchBar animation issue

后端 未结 8 1210
迷失自我
迷失自我 2020-12-08 11:22

I have a UIViewController in which I want to show a tableview with the serchBar.

//viewDidLoad
_tableView = [[UITableView alloc] initWithFrame:CGRectMake(0,
          


        
8条回答
  •  猫巷女王i
    2020-12-08 12:21

    I have applied your code,, It works fine for me,, Just hide you navigation bar and start the search bar from y = 20, instead of y = 0;

提交回复
热议问题