2
UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"open app" message:@" backgr..." delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil];
[alertView show];
如何在应用程序运行后台时显示警报?当应用程序在后台运行时显示UIAlert?
把这些代码行放在哪里?我的意思是在哪种方法? –
我怎么知道?这是你的项目,不是我的。 – DrummerB
谢谢DrummerB。但我只想显示警报。不是本地通知。可能吗。请分享你对此的看法。等待回复。 –