xcode4.2 在運行是系統提示:ios xcode cannot run using the selected device
map程序,在viewDidLoad方法中直接賦值經緯度:
BMKCoordinateRegion region; region.center.latitude = 45.58008; region.center.longtude = xxxxx; region.span.latitudeDelta = 0.2; region.span.longitudeDelta = 0.2; if(_mapView){ _mapView.region = region; //NSLog(@"%f,%f",); }
選中工程修改:summary->Deployment Target->4.3(默認為5.0)
修改后運行不再出現上面的提示。
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。