rotation - How does the Maps app on the iPhone 3Gs rotate as you turn the phone? -
on iphone 3gs, if click little "show location" symbol on lower left of window twice, switches mode causes map rotate north on map faces towards north according compass. don't have 3gs, found out buddy have one.
i tried applying rotation transformation mkmapview's layer, this:
catransform3d rotationtransform = catransform3didentity; rotationtransform = catransform3drotate(rotationtransform, degreestoradians(-20), 0.0, 0.0, 1.0); themapview.layer.transform = rotationtransform; that sort of works, not really. contents of map rotate, frame rotates , stretches. map view ends in strip stretches diagonally across screen, , ends under buttons in view.
i tried enclosing map in view isolate it, doesn't work either. next i'll try rotating enclosing view, i'm hoping else has figured out. getting work trial , error difficult @ best.
regards,
duncan c
i have same problem. able solve stretching placing mkmapview in uiview container.
Comments
Post a Comment