Closed jsonmat closed 7 years ago
In
Bundle.main.loadNibNamed("AnnoyingNotification", owner: self, options: nil)
annoyingNotificationView!.frame.size.width = self.view.bounds.width;
UIViewController.showNotificationOnTopOfStatusBar(annoyingNotificationView!, duration: 5)
you can change "AnnoyingNotification"
to your own xib name and use any design and texts you wish.
How do specify the text to be shown in AnnoyingNotification.xib?