开发者

How to check if there is an image present in the image view?

I am new to iPhone development. I want to ch开发者_StackOverfloweck for a condition whether the image is present in the image view? I have created a image view such as

UIImageView *subview = [[UIImageView alloc] initWithFrame:CGRectMake(10.0f, 6.0f,50.0f, 50.0f)];

How to check whether the image is present in the image view?


if (subView.image != nil)
   // image is present
else
   // image missing
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜