I have implemented UILocalNotification. Everything is working fine and i can see the Notification also. I can see the notification and it shows me two button “cancel” and “View” from which i do not want “view” button can i do this?
How to do this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Hi sorry for late reply you can Have only Ok button for UilocalNotifications
by doing this
notif.hasAction=NO;
by doing this you cannot see view button in the notifications Hope it solved your Problem