共用方式為


CPMapTemplate.PresentNavigationAlert(CPNavigationAlert, Boolean) 方法

定義

開發人員呼叫這個方法來顯示 navigationAlert

[Foundation.Export("presentNavigationAlert:animated:")]
public virtual void PresentNavigationAlert (CarPlay.CPNavigationAlert navigationAlert, bool animated);
abstract member PresentNavigationAlert : CarPlay.CPNavigationAlert * bool -> unit
override this.PresentNavigationAlert : CarPlay.CPNavigationAlert * bool -> unit

參數

navigationAlert
CPNavigationAlert
animated
Boolean
屬性

適用於