1

Please check this image and give me some example to draw this shadow above green button.

enter image description here

Shivam Tripathi
  • 1,405
  • 3
  • 19
  • 37
Jogendar Choudhary
  • 3,476
  • 1
  • 12
  • 26
  • I don't see a shadow. I see a button which background is a gradient from white to green (or reverse) and which title is white and not readable. What shadow are you talking about? – Larme Aug 02 '18 at 16:45
  • You likely want to use a gradient mask. Just search for `uiview gradient mask` and you'll find many examples / discussions. – DonMag Aug 02 '18 at 17:03
  • @Larme: Now you can check, i have updated screen image – Jogendar Choudhary Aug 02 '18 at 18:22
  • @DonMag Now you can check, i have updated screen image – Jogendar Choudhary Aug 02 '18 at 18:22
  • I don't think the white fade is part of the button. It seems to be part of the content container, because it also affects the price and name of the product. – 2C-B Aug 02 '18 at 23:43
  • @2C-B: This is gradient mask. Please give me some example – Jogendar Choudhary Aug 03 '18 at 05:31
  • @JogendarChoudhary - based on the image, it looks like a gradient mask has been applied either to the table itself, or a "clear-to-white" gradient on a view on top of the table. Take a look at this SO answer: https://stackoverflow.com/a/32418022/6257435 – DonMag Aug 03 '18 at 17:59

0 Answers0