R
R
roovwhite2017-02-21 15:27:39
Swift
roovwhite, 2017-02-21 15:27:39

How to make a shared gradient for UIView on adjacent UITableViewCell?

Please point to a way to solve the problem.
There is a marker on the cells, added by swiping (UIView on Prototupe Cell)
fa2ce4de20284775bfae87367232eef8.png
How to make it so that when there are markers on adjacent cells, their gradient looks like "general"?
121294f602524cd1914e59e59c8cfc9b.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
ManWithBear, 2017-02-21
@ManWithBear

The first thing that comes to mind is to transfer to the cell from which to which color to make a gradient, and consider the colors as handles depending on the data.
Problems will appear if the cells are of dynamic height.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question