ios - Observer being added after postNotification ONLY on iPhone 4S -
i have functional code works on ios >8.0 iphones >5 , ipads, pass information , call function via observers/notifications, on iphone 4s doesn't work. through debugging, found out only while running on iphone 4s observer gets added after notification gets posted. this happening on devices , on simulator, on ios 8 , 9, respectively. code: **postnotification** override func viewdidload() { super.viewdidload() self.registercells() uiapplication.sharedapplication().statusbarstyle = .lightcontent self.collectionview.delayscontenttouches = false nsnotificationcenter.defaultcenter().addobserver(self, selector: "footerupdatecontentsize:", name: "footerupdatecontentsize", object: nil) nsnotificationcenter.defaultcenter().addobserver(self, selector: "seasonupdatecontentsize:", name: "seasonupdatecontentsize", object: nil) self.loaddetailtvshow() } func registercells() { self.collectionview.regist...