ios - Swift UILocalNotification Display On Screen -


i trying display uilocalnotification on top of screen when received. have created simple notification

var notification = uilocalnotification() notification.alertbody = "hello world!" notification.firedate = nsdate(timeintervalsincenow: 0) uiapplication.sharedapplication().schedulelocalnotification(notification) 

this displays should in notifications section when user swipes down on screen, there way show notification on top of screen alert user when app running?

implement in appdelegate , show alert :

func application(application: uiapplication, didreceivelocalnotification notification: uilocalnotification) {  } 

Comments

Popular posts from this blog

IF statement in MySQL trigger -

c++ - What does MSC in "// appease MSC" comments mean? -

javascript - Blogger related post gadget image Resize s72-c [ Need Expert Help ] -