我的核心代码如下
let latDelta = 0.05
let longDelta = 0.05
let currentLocationSpan:MKCoordinateSpan = MKCoordinateSpanMake(latDelta, longDelta)
let center:CLLocation = CLLocation(latitude: 32.029171, longitude: 118.788231)
let currentRegion:MKCoordinateRegion = MKCoordinateRegion(center: center.coordinate,span: currentLocationSpan)
self.mainMapView.setRegion(currentRegion, animated: true)
其中这一行规定了初始化的定位点
let center:CLLocation = CLLocation(latitude: 32.029171, longitude: 118.788231)
现在我想让它获取我当前的位置信息 然后可以实时更新 要怎么修改?