How to get the pixel color values of custom image inside imageview ios?

前端 未结 4 1247
失恋的感觉
失恋的感觉 2021-01-03 05:59

I know similar question have been asked before.

What I want is to get the RGB pixel value of the Image Inside the Imageview, so it can be any image that

4条回答
  •  無奈伤痛
    2021-01-03 06:08

    You want to know how to get the image from an image view?

    UIImageView has a property, image. Simply use that property.

提交回复
热议问题