iphone - CGAffineTransformMakeRotation not only rotate, but also move and stretch UIImageView -
i'm trying rotate uiimageview degrees cgaffinetransformmakerotation() function, end image not rotates, moved coordinates , stretched o.o have no clue why happen... here code:
self.arrowtopoi.transform = cgaffinetransformmakerotation( m_pi / 4 )
don't know if can help, uiimageview resides inside custom uitablecellview, automatically changes its' height accommodate webview content.
any appreciated!
- try selecting appropriate
contentmode(property how image adjusted whenboundschange, do). defaultuiviewcontentmodescaletofill, exampleuiviewcontentmodescaleaspectfillthere strange behavior sounds similar problem. - be aware it's rotated around
uiimageview's center.
Comments
Post a Comment