How to create gradient cell background?

  • and what does not work? to create a UIImage with a gradient or put the resulting gradient in a cell? - Max Mikheyenko
  • @MaxMikheyenko Do you mean to put the picture on the background of the cell?)) - Metman
  • Then the counter question, what do you mean? - Max Mikheyenko
  • Via CAGradientLayer. Here is a tutorial: raywenderlich.com/90693/modern-core-graphics-with-swift-part-2 - Metman
  • As a result of this tutorial, you get a UIImage, which you need to put under all the subviews in the cell - Max Mikheyenko

0