![](/img/trans.png)
[英]How to write if/else statement in swift so that when a specific cell is clicked in iOS tableview it goes to a specific viewController
[英]How Do You Launch A Specific ViewController When UILocalNotification Is Clicked In Swift
我正在Swift中解雇UILocalNotifications,這很正常。 但是,當我點擊通知時,它會像通常那樣(默認的ViewController)打開我的應用程序。 如何讓它打開特定的ViewController呢?
為了處理通知,應該覆蓋AppDelegate中的應用程序。
func應用程序(應用程序:UIApplication,didReceiveLocalNotification通知:UILocalNotification)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.