-1
1

I want to apply color gradient(from top to bottom) to an image named 'newspaperImage'. This is my code on swift language. @IBOutlet weak var newspaperImage: UIImageView! func imageGradient(){ ...
0
3

1
1

I want to achieve this result So I need to add mask at bottom but Here What I got Code I have tried private func setupImageCutPath () { let path = UIBezierPath() path.move(to: ....
0
1

0
1

-1
0

-1
0

0
1

0
1

0
1

0
0

0
0

-1
1

0
1

func uploadImage(){ let data = Data() let storage = Storage.storage() let storageRef = storage.reference() let imagesRef = storageRef.child(imageView.image) //not sure how it's done ...
0
1