Open bumaociyuan opened 10 years ago
For some reason this doesn't seem to be blurring the navBar for me.
@b-raines I haven't tested this out yet, but it looks like it could be due to a result of the blurView
being added to a subview of your navigationController
's view (thus always appearing below your navBar). Try searching for the following line in the .m file
[[self.class zx_topViewController].navigationController.view addSubview:blurView];
and change it to:
[[self.class zx_topViewController].navigationController.view.window addSubview:blurView];
This should add it to its window
.
add blur navigationBar add handle tap blurView