New to Objective-C, Cocoa, and compiled languages in general so forgive my ignorance:
UIImage *myImage = [UIImage imageNamed:@"1-filter.jpg"];
NSLog(@"myImage.size=%@", myImage.size);
Results in
Thread 1: Porgram received signal: “EXC_BAD_ACCESS”.
Why? How do I get the size of a UIImage?
The size is a structure.
Use either
size.width, size.heightorNSStringFromCGSize(myImage.size)forNSLogoutput.