ios - I need to sort my local notification using the user info -


i trying sort alphabetically local notifications using userinfo, don't know how it,i tried alertbody, doesn't work.

nssortdescriptor * userinfodesc = [nssortdescriptor sortdescriptorwithkey:@"alertbody" ascending:yes];     nsarray *descriptors = [nsarray arraywithobject:userinfodesc];     nsarray * notificationsarray = [[[uiapplication sharedapplication] scheduledlocalnotifications] sortedarrayusingdescriptors:descriptors]; 


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -