Deprecated NSStringDrawingContext Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Deprecated in iOS 7.0

actualTrackingAdjustment

The actual tracking value that was applied during drawing. (read-only) (Deprecated in iOS 7.0.)

@property(nonatomic, readonly) CGFloat actualTrackingAdjustment
Discussion

If you specified a custom value in the minimumTrackingAdjustment property, when drawing is complete, this property contains the actual tracking value that was used.

Availability
  • Available in iOS 6.0 and later.
  • Deprecated in iOS 7.0.
Declared In
NSStringDrawing.h

minimumTrackingAdjustment

The smallest amount of space (in points) to maintain between characters. (Deprecated in iOS 7.0.)

@property(nonatomic) CGFloat minimumTrackingAdjustment
Discussion

Changing the value of this property tells the renderer that it can change the tracking to a value no smaller than the indicated amount. For example, a value of -0.5 indicates that characters can be tracked closer together by up to half a point. A value of 0 indicates that the standard spacing is used. A typical range of values for this property would be -0.5 to 0.0. The default value of this property is 0.0.

Availability
  • Available in iOS 6.0 and later.
  • Deprecated in iOS 7.0.
Declared In
NSStringDrawing.h