The exception that occurs after iOS 11 sets up prefersLargeTitles

My question on Stack Overflow

2017-9-10 update, before Stack Overflow on the question, so far there is no satisfactory answer, and now I prefer this is Apple’s Bug. Apple has been back for so long, but it hasn’t been answered.

Recently also found a set in the storyboard imageView tintColor does not work, use the code abnormal problem, I personally think it could be Xcode Bug
MacBook Air I recently appeared after inputting password card read in the progress bar, then close the black screen problem, desperation to reinstall the system, a comparison of the tragedy is some demo written before you have no backup or upload it to gitHub. Please remind everyone to back up at any time.
today would like to write the theme is about the new iOS 11 out of the function of prefersLargeTitles, that is, set the navigationBar on the title for large fonts, the effect is as follows (see navigationBar):

The exception that occurs after iOS 11 sets up prefersLargeTitles
system App effect.Gif


个人觉得既然是新推出来的东西,还是得运用下,开发环境:Swift 4, Xcode 9, Beta 6, iOS 11

为了便于说明存在的bug,我自己写了一个demo:一个ViewController视图上包含一个 ImageView(做背景图)和TableView

Subview levels in The exception that occurs after iOS 11 sets up prefersLargeTitles,
, stroybord


原本目标是想要做到类似效果,代码如下:

Self.title = "OMNI Remotes" //tableView tableView.backgroundColor =.Clear //navBar transparent background transparent navigationController?.navigationBar.setBackgroundImage (UIImage), for: (.Default) / / remove shadow line navigationController?.navigationBar.shadowImage = UIImage (navigationController) / / set font?.navigationBar.prefersLargeTitles = true / navigationItem.hidesSearchBarWhenScrolling = true when sliding hide searchBar assigns searchController to navigationItem / let (SC = UISearchController searchResultsController: nil navigationItem.searchController = SC)

The code is very simple, not too much explanation, direct Run engineering, found the problem. Previously, I had been wondering if I had any problems with my project, but in this simple, no simpler demo, I had the exact same problem.
issue one: while setting to remove the shadow line, but the actual navigationBar shadow line did not remove the
issue two: searchBar and largeTitles can’t hide from the state back to normal size
sliding tableView

The exception that occurs after iOS 11 sets up prefersLargeTitles
actual effect.Gif


Google了很久也没有发现相关问题,但在苹果开发者论坛上发现有几个开发者遇到了issue two ,但是issue1貌似只有我遇到了。

这是个神奇的世界,当我删掉imageView视图后,上述issue two问题竟然消失了(仔细看图,你会发现issue one还在哦)天呐,这是个Bug吗?Anyway,先上报给Apple,期待他们的回复。

The exception that occurs after iOS 11 sets up prefersLargeTitles
removes the effect after imageView