mkmapview - iOS: Map view location with edge padding -


i have mkmapview shows user location , mkusertrackingbarbuttonitem. added edge padding line:

mapview.setvisiblemaprect(mapview.visiblemaprect, edgepadding: uiedgeinsetsmake(0.0, 0.0, (self.mapview.bounds.height-88.0)/2, 0.0), animated: true) 

i works problem when tap tracking button -to center user location- edge padding leaves.

how make work time ?

thanks


Comments

Popular posts from this blog

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -