I received a notification from passbook app where i saved my movie ticket that i bought. The notification had 2 image on lock screen: On left it had icon of the original app from where i bought movie tickets and On right side it had image of the passbook ticket information. Check the screenshot below:
This notification is local and generated by Passbook app.
First i wanted to know how do we add custom image on right side which is not app icon and its a content generated later in app. I am looking to achieve this and hasn't got much info about it.
Second, IS this possible for Push notification too ? If yes ? Is there documentation where its mentioned ?
Edit: I just want to know can above screenshot i shared can be done ? Because Passbook is doing. I need the solution for that even if its just for Local Notification. Thanks.
You should use Widget , which is a very good feature of iOS app. In widget you can use custom view in your application for Local Notification . So by using that widget you can show image on right side in notification , even in lockscreen
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With