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
Post a Comment