iosswiftuiviewswift4uivisualeffectview

How to remove blur view for Parent View but not the Child View?


I am trying to add blur effect in view(Parent View) but not in its subView(Child View).

Does anyone knows how to remove blur effect from child view so that the blur effect remains in parent view?

Your time and help will be highly appreciated!


Solution

  • It's probably in the order that you add your views to the parent. You might be doing this right now.

    Instead try this