iphone - Couldn't find UIscrollView as subview in mkmapview in ios6 -
i trying uiscrollview in mkmapview. in ios 5 code working fine in ios 6 app crashing. need scrollview set zoom level in mkmapview.
when run application in ios5 gives me scrollview, in ios 6 returns mkscrollcontainerview
here code.
uiscrollview *scroll = [[[[mapview subviews] objectatindex:0] subviews] objectatindex:0]; [scroll setzoomscale:0.045551 animated:no];
iphone ios objective-c uiscrollview mkmapview
No comments:
Post a Comment