[英]result of telprompt:
有沒有辦法確定用戶何時從telprompt回到應用程序? 如果他們點擊取消我不想做任何事情,但如果他們回到應用程序時打電話我想采取行動。 謝謝。
NSNotificationCenter * center =
[NSNotificationCenter defaultCenter];
[center addObserverForName:UIApplicationDidBecomeActiveNotification
object:nil
queue:[NSOperationQueue mainQueue]
usingBlock:^(NSNotification *note)
{
// use instance flag to know
if (self.isBackfromCalling)
{
// do some stuff
}
}];
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.