Edited at

CGRectの内容を表示する / NSStringFrom*

More than 5 years have passed since last update.

NSLog( @"frame %@", NSStringFromCGRect(view.frame) );

こうすると、

frame {{0, 0}, {320, 480}}

こうなります。


NSStringFrom*


  • NSStringFromCGAffineTransform

  • NSStringFromCGPoint

  • NSStringFromCGRect

  • NSStringFromCGSize

  • NSStringFromClass

  • NSStringFromProtocol

  • NSStringFromRange

  • NSStringFromSelector

  • NSStringFromUIEdgeInsets

  • NSStringFromUIOffset