ios – How to allow a click, through a UITableView, to buttons behind?


Imagine a large table view that’s mostly transparent, with some elements here and there. (Perhaps there’s a large gap between cells, or, picture the cells being mainly transparent with only a couple buttons or such.

Behind this mostly-transparent table is some other materials, say with some buttons.

How to make the table that

  • if you scroll it scrolls normally

  • if you tap on say a button on a cell, that works normally

  • but if you tap on one of the buttons behind the table, the click is passed through and affects that button?

there are a number of different well-known techniques for passing touches through views in different situations,

etc.

But I’ve never been able to get the above three mentioned conditions working.

Is there a way?

Latest articles

spot_imgspot_img

Related articles

Leave a reply

Please enter your comment!
Please enter your name here

spot_imgspot_img