Top "Nsnotificationcenter" questions

NSNotificationCenter allows to send and register for notifications in the Foundation framework, which is provided by Apple.

How to detect MPMoviePlayerController starts a movie?

I am using MPMoviePlayerController, how do I detect when the movie actually started playing - as opposed to when the …

ios mpmovieplayercontroller nsnotificationcenter seek nsnotification
Xamarin NSNotificatioCenter: How can I get the NSObject being passed?

I am trying to post a notification in a view from my app to another one using NSNotificationCenter. So in …

c# ipad xamarin.ios nsnotificationcenter
Remove NSNotificationCenter observer

I am detecting the showing/hiding of the keyboard by adding this code in the ViewDidLoad: [[NSNotificationCenter defaultCenter] addObserver:self …

ios objective-c nsnotificationcenter nsnotifications
OSX Notification Center Icon

I'm using OSX's Notification Center APIs for the first time and can't seem to figure out how to make my …

macos nsnotificationcenter osx-mountain-lion
How to create a class to send and receive events through NSNotificationCenter in Objective-C?

I need to create two classes and both should be able to send and receive the events through the NSNotificationCenter …

objective-c nsnotification nsnotificationcenter
postNotificationName not calling observer method

I am trying to call a method within an uiview from AppDelegate using the NSNotificationCenter to no avail.. AppDelegate.m [[…

iphone xcode nsnotificationcenter
Swift iOS -AVPlayer Video Freezes / Pauses When App Comes Back from Background

I have a video playing in a loop on the login page of my app. I followed this Youtube tutorial …

ios swift avfoundation avplayer nsnotificationcenter
CoreData: error: Serious application error. Exception was caught during Core Data change processing

I am running into major issues developing my iphone app. here is the full error: CoreData: error: Serious application error. …

iphone ios core-data nsmanagedobject nsnotificationcenter
iOS8 + UIDeviceOrientationDidChangeNotification not getting called

In my working application (iOS 7.0.1), UIDeviceOrientationDidChangeNotification is called. Now when i run this application in iOS 8.0 UIDeviceOrientationDidChangeNotification is not getting …

ios swift nsnotificationcenter uiinterfaceorientation
iphone notification results in "unrecognized selector sent to instance..."

To make it short, I'm registering the following NSNotification listener in ClassA (in viewDidLoad): [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(…

iphone objective-c ios nsnotificationcenter