iOS开发用到的系统本地通知名整理
开发时经常会用到一些不知道的系统通知,或者有需求,不知道系统有没有的通知,这里给自己做一个笔记整理、记录,希望也能帮到大家
Accounts.framework
头文件:./Headers/ACAccountStore.h
ACAccountStoreDidChangeNotification NS_AVAILABLE(NA, 5_0);AssetsLibrary.framework 头文件:./Headers/ALAssetsLibrary.h
ALAssetsLibraryChangedNotification __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_4_0);AVFoundation.framework 头文件:./Headers/AVAudioSession.h
AVAudioSessionInterruptionNotification NS_AVAILABLE_IOS(6_0);头文件:./Headers/AVCaptureDevice.h
AVAudioSessionRouteChangeNotification NS_AVAILABLE_IOS(6_0);
AVAudioSessionMediaServicesWereLostNotification NS_AVAILABLE_IOS(7_0);
AVAudioSessionMediaServicesWereResetNotification NS_AVAILABLE_IOS(6_0);
AVCaptureDeviceWasConnectedNotification NS_AVAILABLE(10_7, 4_0);
AVCaptureDeviceWasDisconnectedNotification NS_AVAILABLE(10_7, 4_0);头文件:./Headers/AVCaptureInput.h
AVCaptureDeviceSubjectAreaDidChangeNotification NS_AVAILABLE_IOS(5_0);
AVCaptureInputPortFormatDescriptionDidChangeNotification NS_AVAILABLE(10_7, 4_0);头文件:./Headers/AVCaptureSession.h
AVCaptureSessionRuntimeErrorNotification NS_AVAILABLE(10_7, 4_0);头文件:./Headers/AVPlayerItem.h
AVCaptureSessionDidStartRunningNotification NS_AVAILABLE(10_7, 4_0);
AVCaptureSessionDidStopRunningNotification NS_AVAILABLE(10_7, 4_0);
AVCaptureSessionWasInterruptedNotification NS_AVAILABLE_IOS(4_0);
AVCaptureSessionInterruptionEndedNotification NS_AVAILABLE_IOS(4_0);
AVPlayerItemTimeJumpedNotification NS_AVAILABLE(10_7, 5_0);CoreBluetooth.framework 头文件:./Headers/CBCentralManagerConstants.h
AVPlayerItemDidPlayToEndTimeNotification NS_AVAILABLE(10_7, 4_0);
AVPlayerItemFailedToPlayToEndTimeNotification NS_AVAILABLE(10_7, 4_3);
AVPlayerItemPlaybackStalledNotification NS_AVAILABLE(10_9, 6_0);
AVPlayerItemNewAccessLogEntryNotification NS_AVAILABLE(10_9, 6_0);
AVPlayerItemNewErrorLogEntryNotification NS_AVAILABLE(10_9, 6_0);
CBConnectPeripheralOptionNotifyOnNotificationKey NS_AVAILABLE(NA, 6_0);CoreData.framework 头文件:./Headers/NSManagedObjectContext.h
NSManagedObjectContextWillSaveNotification NS_AVAILABLE(10_5, 3_0);头文件:./Headers/NSPersistentStoreCoordinator.h
NSManagedObjectContextDidSaveNotification NS_AVAILABLE(10_4, 3_0);
NSManagedObjectContextObjectsDidChangeNotification NS_AVAILABLE(10_4, 3_0);
NSPersistentStoreCoordinatorStoresWillChangeNotification NS_AVAILABLE(10_9, 7_0);CoreMIDI.framework 头文件:./Headers/MIDINetworkSession.h
NSPersistentStoreCoordinatorStoresDidChangeNotification NS_AVAILABLE(10_4, 3_0);
NSPersistentStoreCoordinatorWillRemoveStoreNotification NS_AVAILABLE(10_5, 3_0);
NSPersistentStoreDidImportUbiquitousContentChangesNotification NS_AVAILABLE(10_7, 5_0);
MIDINetworkNotificationContactsDidChange __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_4_2);
MIDINetworkNotificationSessionDidChange __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_4_2);CoreTelephony.framework 头文件:./Headers/CTTelephonyNetworkInfo.h
CTRadioAccessTechnologyDidChangeNotification __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_7_0);EventKit.framework 头文件:./Headers/EKEventStore.h
EKEventStoreChangedNotification __OSX_AVAILABLE_STARTING(__MAC_10_8,__IPHONE_4_0);ExternalAccessory.framework 头文件:./Headers/EAAccessoryManager.h
EAAccessoryDidConnectNotification __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_3_0);Foundation.framework 头文件:./Headers/NSBundle.h
EAAccessoryDidDisconnectNotification __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_3_0);
NSBundleDidLoadNotification;头文件:./Headers/NSCalendar.h
NSCalendarDayChangedNotification NS_AVAILABLE(10_9, __NSCALENDAR_COND_IOS_7_0);头文件:./Headers/NSFileHandle.h
【iOS开发用到的系统本地通知名整理】NSSystemClockDidChangeNotification NS_AVAILABLE(10_6, 4_0);
NSFileHandleReadCompletionNotification;头文件:./Headers/NSFileManager.h
NSFileHandleReadToEndOfFileCompletionNotification;
NSFileHandleConnectionAcceptedNotification;
NSFileHandleDataAvailableNotification;
NSFileHandleNotificationDataItem;
NSFileHandleNotificationFileHandleItem;
NSFileHandleNotificationMonitorModes NS_DEPRECATED(10_0, 10_7, 2_0, 5_0);
NSUbiquityIdentityDidChangeNotification NS_AVAILABLE(10_8, 6_0);头文件:./Headers/NSHTTPCookieStorage.h
NSHTTPCookieManagerAcceptPolicyChangedNotification;头文件:./Headers/NSKeyValueObserving.h
NSHTTPCookieManagerCookiesChangedNotification;
NSKeyValueChangeNotificationIsPriorKey NS_AVAILABLE(10_5, 2_0);头文件:./Headers/NSLocale.h
NSCurrentLocaleDidChangeNotification NS_AVAILABLE(10_5, 2_0);头文件:./Headers/NSMetadata.h
NSMetadataQueryDidStartGatheringNotification NS_AVAILABLE(10_4, 5_0);头文件:./Headers/NSPort.h
NSMetadataQueryGatheringProgressNotification NS_AVAILABLE(10_4, 5_0);
NSMetadataQueryDidFinishGatheringNotification NS_AVAILABLE(10_4, 5_0);
NSMetadataQueryDidUpdateNotification NS_AVAILABLE(10_4, 5_0);
NSPortDidBecomeInvalidNotification;头文件:./Headers/NSThread.h
NSWillBecomeMultiThreadedNotification;头文件:./Headers/NSTimeZone.h
NSDidBecomeSingleThreadedNotification;
NSThreadWillExitNotification;
NSSystemTimeZoneDidChangeNotification NS_AVAILABLE(10_5, 2_0);头文件:./Headers/NSUbiquitousKeyValueStore.h
NSUbiquitousKeyValueStoreDidChangeExternallyNotification NS_AVAILABLE(10_7, 5_0);头文件:./Headers/NSUndoManager.h
NSUndoManagerCheckpointNotification NS_AVAILABLE(10_0, 3_0);头文件:./Headers/NSURLCredentialStorage.h
NSUndoManagerWillUndoChangeNotification NS_AVAILABLE(10_0, 3_0);
NSUndoManagerWillRedoChangeNotification NS_AVAILABLE(10_0, 3_0);
NSUndoManagerDidUndoChangeNotification NS_AVAILABLE(10_0, 3_0);
NSUndoManagerDidRedoChangeNotification NS_AVAILABLE(10_0, 3_0);
NSUndoManagerDidOpenUndoGroupNotification NS_AVAILABLE(10_0, 3_0);
NSUndoManagerWillCloseUndoGroupNotification NS_AVAILABLE(10_0, 3_0);
NSUndoManagerDidCloseUndoGroupNotification NS_AVAILABLE(10_7, 5_0);
NSURLCredentialStorageChangedNotification;头文件:./Headers/NSUserDefaults.h
NSUserDefaultsDidChangeNotification;GameController.framework 头文件:./Headers/GCController.h
GCControllerDidConnectNotification;GameKit.framework 头文件:./Headers/GKLocalPlayer.h
GCControllerDidDisconnectNotification;
GKPlayerAuthenticationDidChangeNotificationName __OSX_AVAILABLE_STARTING(__MAC_10_8,__IPHONE_4_1);头文件:./Headers/GKPlayer.h
GKPlayerDidChangeNotificationName;MapKit.framework 头文件:./Headers/MKAnnotationView.h
MKAnnotationCalloutInfoDidChangeNotification;MediaPlayer.framework 头文件:./Headers/MPMediaLibrary.h
MPMediaLibraryDidChangeNotification;头文件:./Headers/MPMediaPlayback.h
MPMediaPlaybackIsPreparedToPlayDidChangeNotification NS_AVAILABLE_IOS(3_2);头文件:./Headers/MPMoviePlayerController.h
MPMoviePlayerScalingModeDidChangeNotification;头文件:./Headers/MPVolumeView.h
MPMoviePlayerPlaybackDidFinishNotification;
MPMoviePlayerPlaybackStateDidChangeNotification NS_AVAILABLE_IOS(3_2);
MPMoviePlayerLoadStateDidChangeNotification NS_AVAILABLE_IOS(3_2);
MPMoviePlayerNowPlayingMovieDidChangeNotification NS_AVAILABLE_IOS(3_2);
MPMoviePlayerWillEnterFullscreenNotification NS_AVAILABLE_IOS(3_2);
MPMoviePlayerDidEnterFullscreenNotification NS_AVAILABLE_IOS(3_2);
MPMoviePlayerWillExitFullscreenNotification NS_AVAILABLE_IOS(3_2);
MPMoviePlayerDidExitFullscreenNotification NS_AVAILABLE_IOS(3_2);
MPMoviePlayerIsAirPlayVideoActiveDidChangeNotification NS_AVAILABLE_IOS(5_0);
MPMoviePlayerReadyForDisplayDidChangeNotification NS_AVAILABLE_IOS(6_0);
MPMovieMediaTypesAvailableNotification NS_AVAILABLE_IOS(3_2);
MPMovieSourceTypeAvailableNotification NS_AVAILABLE_IOS(3_2); // Posted if the movieSourceType is MPMovieSourceTypeUnknown when preparing for playback.
MPMovieDurationAvailableNotification NS_AVAILABLE_IOS(3_2);
MPMovieNaturalSizeAvailableNotification NS_AVAILABLE_IOS(3_2);
MPMoviePlayerThumbnailImageRequestDidFinishNotification NS_AVAILABLE_IOS(3_2);
MPMoviePlayerTimedMetadataUpdatedNotification NS_AVAILABLE_IOS(4_0);
MPMoviePlayerContentPreloadDidFinishNotification NS_DEPRECATED_IOS(2_0, 3_2);
MPMusicPlayerControllerPlaybackStateDidChangeNotification;
MPMusicPlayerControllerNowPlayingItemDidChangeNotification;
MPMusicPlayerControllerVolumeDidChangeNotification;
MPVolumeViewWirelessRoutesAvailableDidChangeNotification NS_AVAILABLE_IOS(7_0);MessageUI.framework 头文件:./Headers/MFMessageComposeViewController.h
MPVolumeViewWirelessRouteActiveDidChangeNotification NS_AVAILABLE_IOS(7_0);
MFMessageComposeViewControllerTextMessageAvailabilityDidChangeNotification __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_5_0);NewsstandKit.framework 头文件:./Headers/NKIssue.h
NKIssueDownloadCompletedNotification;PassKit.framework 头文件:./Headers/PKPassLibrary.h
PKPassLibraryDidChangeNotification NS_AVAILABLE_IOS(6_0);UIKit.framework 头文件:./Headers/NSTextStorage.h
NSTextStorageWillProcessEditingNotification NS_AVAILABLE_IOS(7_0);头文件:./Headers/UIAccessibility.h
NSTextStorageDidProcessEditingNotification NS_AVAILABLE_IOS(7_0);
UIAccessibilityMonoAudioStatusDidChangeNotification NS_AVAILABLE_IOS(5_0);头文件:./Headers/UIAccessibilityConstants.h
UIAccessibilityClosedCaptioningStatusDidChangeNotification NS_AVAILABLE_IOS(5_0);
UIAccessibilityInvertColorsStatusDidChangeNotification NS_AVAILABLE_IOS(6_0);
UIAccessibilityGuidedAccessStatusDidChangeNotification NS_AVAILABLE_IOS(6_0);
UIAccessibilityAnnouncementDidFinishNotification NS_AVAILABLE_IOS(6_0);头文件:./Headers/UIApplication.h
UIApplicationDidEnterBackgroundNotification NS_AVAILABLE_IOS(4_0);头文件:./Headers/UIDevice.h
UIApplicationWillEnterForegroundNotification NS_AVAILABLE_IOS(4_0);
UIApplicationDidFinishLaunchingNotification;
UIApplicationDidBecomeActiveNotification;
UIApplicationWillResignActiveNotification;
UIApplicationDidReceiveMemoryWarningNotification;
UIApplicationWillTerminateNotification;
UIApplicationSignificantTimeChangeNotification;
UIApplicationWillChangeStatusBarOrientationNotification; // userInfo contains NSNumber with new orientation
UIApplicationDidChangeStatusBarOrientationNotification; // userInfo contains NSNumber with old orientation
UIApplicationWillChangeStatusBarFrameNotification; // userInfo contains NSValue with new frame
UIApplicationDidChangeStatusBarFrameNotification; // userInfo contains NSValue with old frame
UIApplicationBackgroundRefreshStatusDidChangeNotification NS_AVAILABLE_IOS(7_0);
UIApplicationLaunchOptionsRemoteNotificationKey NS_AVAILABLE_IOS(3_0); // userInfo contains NSDictionary with payload
UIApplicationLaunchOptionsLocalNotificationKey NS_AVAILABLE_IOS(4_0); // userInfo contains a UILocalNotification
UIContentSizeCategoryDidChangeNotification NS_AVAILABLE_IOS(7_0); // userInfo dictionary will contain new value for UIContentSizeCategoryNewValueKey
UIApplicationUserDidTakeScreenshotNotification NS_AVAILABLE_IOS(7_0);
UIDeviceOrientationDidChangeNotification;头文件:./Headers/UIDocument.h
UIDeviceBatteryStateDidChangeNotification NS_AVAILABLE_IOS(3_0);
UIDeviceBatteryLevelDidChangeNotification NS_AVAILABLE_IOS(3_0);
UIDeviceProximityStateDidChangeNotification NS_AVAILABLE_IOS(3_0);
UIDocumentStateChangedNotification NS_AVAILABLE_IOS(5_0);头文件:./Headers/UILocalNotification.h
UILocalNotificationDefaultSoundName NS_AVAILABLE_IOS(4_0);头文件:./Headers/UIMenuController.h
UIMenuControllerWillShowMenuNotification;头文件:./Headers/UIPasteboard.h
UIMenuControllerDidShowMenuNotification;
UIMenuControllerWillHideMenuNotification;
UIMenuControllerDidHideMenuNotification;
UIMenuControllerMenuFrameDidChangeNotification;
UIPasteboardChangedNotification;头文件:./Headers/UIScreen.h
UIPasteboardRemovedNotification;
UIScreenDidConnectNotification NS_AVAILABLE_IOS(3_2);头文件:./Headers/UITableView.h
UIScreenDidDisconnectNotification NS_AVAILABLE_IOS(3_2);
UIScreenModeDidChangeNotification NS_AVAILABLE_IOS(3_2);
UIScreenBrightnessDidChangeNotification NS_AVAILABLE_IOS(5_0);
UITableViewSelectionDidChangeNotification;头文件:./Headers/UITextField.h
UITextFieldTextDidBeginEditingNotification;头文件:./Headers/UITextInput.h
UITextFieldTextDidEndEditingNotification;
UITextFieldTextDidChangeNotification;
UITextInputCurrentInputModeDidChangeNotification NS_AVAILABLE_IOS(4_2);头文件:./Headers/UITextView.h
UITextViewTextDidBeginEditingNotification;头文件:./Headers/UIWindow.h
UITextViewTextDidChangeNotification;
UITextViewTextDidEndEditingNotification;
UIWindowDidBecomeVisibleNotification;
UIWindowDidBecomeHiddenNotification;
UIWindowDidBecomeKeyNotification;
UIWindowDidResignKeyNotification;
UIKeyboardWillShowNotification;
UIKeyboardDidShowNotification;
UIKeyboardWillHideNotification;
UIKeyboardDidHideNotification;
UIKeyboardWillChangeFrameNotification NS_AVAILABLE_IOS(5_0);
推荐阅读
- Java开发学习(二十三)----SpringMVC入门案例、工作流程解析及设置bean加载控制
- java开发工具|Java 程序员开发常用的工具推荐
- Go开发微信小程序第三方SDK推荐
- Biostar|Biostar handbook学习笔记二—linux常用命令的学习与使用
- java|零基础微信完整版小程序开发之微信表情包小程序前端+后台源码(java)
- spring|【大型电商项目开发】分布式组件SpringCloud Alibaba简介Nacos&Feign-08
- 程序员|java开发买什么笔记本好,详细解说
- 院士、百万博主、机器汪精彩纷呈|昇腾 AI 开发者创享日全国巡展南京站成功举办!
- [5]|[5] Safe Area Layout (iOS 11)
- java|Mybatis------代理开发