freelancer
freelancer

Reputation: 1658

on tap of background change the background color to selected color

enter image description here

i want to add one functionality in my app like user can change the color of similar portion of background color where he touch.also user can undo the events, there is one application called wall Pentair i exact want same functionality.

i don't know where to start it, which frameworks have to use for it.

I would highly appreciate any help with this please.

Upvotes: 1

Views: 198

Answers (1)

shraddha hattimare
shraddha hattimare

Reputation: 485

you can get color of pixel where you touch in background. after that replace that color with another color. To detect color i used ColorPickerImageView class. you can download that class from this link https://www.assembla.com/code/GeoBattle/subversion/nodes/xcode/Classes/ColorPickerImageView.m?rev=189

this may helps you

Upvotes: 1

Related Questions