Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ユーザーがボタンを押したときにドラッグ可能な状態をYESからNOに変更したい。 どのようにできるのか ?
view.draggable = NO;
AnnotationView への参照を取得する必要がある場合は、次の方法で取得できますMKMapView viewForAnnotation:。
MKMapView viewForAnnotation:
MKAnnotationView *view = [self.map viewForAnnotation:self.annotation]; view.draggable = NO;