ios6 - MapView crashing once adding more pins to mapview -


how remove zoom mapview if user zoom on button click.

for (id annotation in annotations) {

        mkmappoint annotationpoint = mkmappointforcoordinate(annotation.coordinate);     mkmaprect zoomrect = mkmaprectmake(annotationpoint.x, annotationpoint.y, 0.0, 0.0);     [m_mapview setvisiblemaprect:zoomrect animated:yes];     } 

mkmaprectmake cant have 0,0 in rect's width height. once u can make value crashing stop


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -