
Hi,
How I can find the width and height of UIImage object. Let's know an example code for finding UIImage width and height.
Thanks

Hi,
You can use following code to find the width and height of image.
NSLog(@"img size: x = %f, y= %f", imageView.image.size.width, imageView.image.size.height ); NSString *tempSize = [NSString stringWithFormat:@"Width: %f Height: %f",imageView.image.size.width,imageView.image.size.height]; lblImageSize.text=tempSize;
Thanks
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.