问题
I am trying for a coloring app and to figure out floodfill in objective c anybody did this before..???I am reading all pixel data in a picture and i can change it also..but floodfill can only do what i want exactly..

回答1:
Theres lots of source code available for flood fill algos. You can probably find a good one and throw it in a method
http://www.google.co.uk/search?q=c+flood+fill+algorithm
If its been written in C/C++ you can use it in Objective-C
回答2:
I figured it out myself This link really helped me to identify the black and white dot in particular pixels.flood filling is explained here.
来源:https://stackoverflow.com/questions/5802138/floodfill-in-objective-c