Skip navigation.
 
mlsizeToFit without actually changing the size?
FROM : John Stiles
DATE : Tue Nov 20 22:40:29 2007

Is there any way to obtain the size that -sizeToFit will set my view to,
without actually having it set the size?

(I can get the view's frame and then change the frame back to its old
frame after -sizeToFit is done, but that seems like I'm going the long
way around…)

Related mailsAuthorDate
mlsizeToFit without actually changing the size? John Stiles Nov 20, 22:40
mlRe: sizeToFit without actually changing the size? Michael Watson Nov 20, 23:52
mlRe: sizeToFit without actually changing the size? John Stiles Nov 20, 23:56
mlRe: sizeToFit without actually changing the size? Ricky Sharp Nov 21, 00:08
mlRe: sizeToFit without actually changing the size? John Stiles Nov 21, 01:50