UIViewController.ProvidesPresentationContextTransitionStyle Свойство
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
true
Значение , если это UIViewController переопределяет стиль перехода объекта , UIViewController который он представляет.
public virtual bool ProvidesPresentationContextTransitionStyle { [Foundation.Export("providesPresentationContextTransitionStyle")] get; [Foundation.Export("setProvidesPresentationContextTransitionStyle:")] set; }
member this.ProvidesPresentationContextTransitionStyle : bool with get, set
Значение свойства
Значение по умолчанию — false
- Атрибуты
Комментарии
Если оставить значение по умолчаниюfalse
, стиль перехода представления UIViewController определяется свойством представленного UIViewControllerModalTransitionStyle . Если для этого ProvidesPresentationContextTransitionStyle свойства задано значение true
, стиль перехода определяется свойством ModalTransitionStyle представления UIViewController.