MKMapView circular swift

2

I wonder if you can leave MKMapView in Xcode in a circular format. I tried to use mapView.layer.cornerRadius, but I still could not do it

    
asked by anonymous 18.01.2015 / 22:54

1 answer

3

I did a test here and saw that using cornerRadius works normally.

1. Add QuarzCore.framework to the project by going to Build Phases > Link binary with libraries.

1.1

1.2

19.01.2015 / 01:13