How to remove blur view for particular cell?

江枫思渺然 提交于 2019-12-13 03:14:41

问题


I am using UITabBarController & UITableView My goal is to remove blur view for particular cell. Yes there is a way to add/remove UIBlurEffectto all the cell & bottom-Tabbbar But of-course don't want this at all .

For reference i am attaching screenshot


回答1:


What you are asking is to add Blur view to full screen except target cell. as tableivew resues cell so you have only option left is

You can take screenshot of particular cell

Here is code sample

Swift 3 - How to take a screenshot of specific UITableView row

After that create Blur view for entire full tableview and add screenshot image to Y position of target cell



来源:https://stackoverflow.com/questions/51978273/how-to-remove-blur-view-for-particular-cell

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!