New UINavigationBar appearance in detail pane of UISplitViewController in iOS 13

后端 未结 1 661
长发绾君心
长发绾君心 2020-12-31 01:09

Under iOS 13, if you setup a scrollable root view controller (such as a UITableViewController) in a navigation controller and then put that navigation controller in the deta

1条回答
  •  醉梦人生
    2020-12-31 01:45

    The workaround you found is the 'official' way to disable this behavior, as explained in a thread on Twitter by David Duncan who is on the iOS System Experience team at Apple.

    to control what happens when the UINavigationBar is completely unfurled, you want to set the scrollEdgeAppearance. By setting standardAppearance and scrollEdgeAppearance to the same values, you will get a bar that doesn't change.

    An Apple app that does not disable this behavior is the Settings app.

    0 讨论(0)
提交回复
热议问题