I\'m trying to make certain elements resize according to the screen dimensions when the interface orientation changes. I\'ve read in various places (including a few answers on h
%@ format specifier expects format parameter to be objective-c object, while what you provide is plain float. To print float numbers use %f specifier:
%f
NSLog(@"view dimensions: (%f, %f)", [[UIScreen mainScreen] bounds].size.width, [[UIScreen mainScreen] bounds].size.height);