我有一個mapview,我添加了一個方法在用戶按下的位置放置一個pin。標註顯示圖像上顯示的位置地址。 screenshot of my mapview with annotation pin and callout view. 而且我的代碼如下: func onTapGestureRecognized(sender: UILongPressGestureRecognizer) {
s
它顯示約3秒,駁回 ,但是當我在普通類創建它顯示所有的時間,然後用戶水龍頭回答允許/不允許 public class Location: NSObject, CLLocationManagerDelegate{
public var locationManager = CLLocationManager()
public func RequestLocation(){