ios - Change the alertBody of a repeating local notification -


is possible have repeating local notification different alertbody each time? if not, how implement such functionality?

code (edit)

let notification = uilocalnotification() notification.firedate = nsdate(timeintervalsincenow: 60) // randomitem extension in code. notification.alertbody = self.athkar.randomitem() notification.soundname = uilocalnotificationdefaultsoundname notification.repeatinterval = nscalendarunit.minute  uiapplication.sharedapplication().schedulelocalnotification(notification) 


Comments

Popular posts from this blog

wordpress - (T_ENDFOREACH) php error -

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

Using django-mptt to get only the categories that have items -