Native Shopify Mobile App with 20 new features
Kickstart your hyperlocal marketplace in Corona pandemic with a starter guide
Android App Development
iOS App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 18.104.22.168 release ready!
Owner and Founder. Opencart
With NotificationCenter you can broadcast data from one part of your app to another. In the iOS development process two entities will inevitably need to send and receive information and for this we here we will use NotificationCenter.
iOS notifications are a simple and powerful way to send data in a loosely coupled way. That is, the sender of notification doesn’t have to care about who (if anyone) receives the notification.
Here I’m using the NotificationCenter for sending data back from SecondViewController to FirstViewController.
-> Registering for notification in first view controller
-> Notification Action in first view controller
-> Posting Notification from second view controller on back button action
1-> NSNotification.Name(“Test”) is the struct identifying the specific notification by name.
2-> For the argument object, you can simply pass the object responsible for sending out notification
3-> userInfo is a payload which can be used to pass between sender and observer of notifications. It is a dictionary of type [AnyHashable : Any]
So pls follow the above step and And if you have any issue or suggestion you can leave your message in the comment section I will try to solve this.
Your email address will not be published. Required fields are marked*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
When I think in getting solutions for my Ecommerce Platform, I think of Webkul. They have been such a blessing in our business. We have spent thousands of dollars in support and modules from them. We love their support team. They work very closely with us, and they always go the extra mile when we need help.
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.