简体   繁体   中英

How do I remove the shadows on the top and bottom of UITableView?

I am using UIVisualEffectsView (With Vibrancy) through the IB. I cant seem to get rid of these shadows.

Update: Those aren't shadows. When a part of the cell becomes invisble, the invisible part is blurred (hence, black) and not the previous content

图片2


  • I have no code related to shadows
  • I have disabled tableview bounce
  • I have tried to set the layer shadowOpacity to 0 in all tableviewcell subviews

Please tell me if I need to provide more information to clarify my doubt.

Thanks a ton!

Solved. I moved my tableview under the navigation bar and tab bar and then set them to translucent. Now the shadow(like) thing isnt visible.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM