Set UITableView content inset permanently

前端 未结 8 796
余生分开走
余生分开走 2020-12-07 12:24

In my app I have a UISearchBar under UINavigationBar so it is always visible to user. In that case I had to set contentInset with extr

8条回答
  •  清歌不尽
    2020-12-07 12:53

    This is how it can be fixed easily through Storyboard (iOS 11 and Xcode 9.1):

    Select Table View > Size Inspector > Content Insets: Never

提交回复
热议问题