ViewController
访问有关当前视图的各种功能和信息
dismiss(data, role , navOptions)
关闭当前viewController
Param | Type | Details |
---|---|---|
data | any | Data that you want to return when the viewController is dismissed.OPTIONAL 当viewController被关闭时要返回的数据。可选 |
role | any | OPTIONAL |
navOptions | NavOptions | Options for the dismiss navigation. |
Returns: any
data Returns the data passed in, if any. 还回数据
onDidDismiss 当 做 解散
Called when the current viewController has be successfully dismissed
当当前viewController成功关闭时调用