SWIFT attribute

Overview The properties related to instances in Swift can be divided into 2 categories

Store Property

Computed Property

For storing attributes, Swift has clear regulations

When creating classes or structures For example, you must set an appropriate initial value for all storage attributes

SWIFT – MODALPRESENTATIONSTYLE .OverCurrentContext results in a problem that the remote button is pressed on the rendered view controller

I have a problem when using .overCurrentContext modalPresentationStyle on the tvOS view controller:

let vc = UIStoryboard(name : “”, bundle: Bundle.main).instantiateInitialViewController() //