系统通知

//音频

AVF_EXPORTNSString*constAVAudioSessionInterruptionNotification//音频中断出现

AVF_EXPORTNSString*constAVAudioSessionRouteChangeNotification//系统的音频线路发生改变

AVF_EXPORTNSString*constAVAudioSessionMediaServicesWereLostNotification//媒体服务终止

AVF_EXPORTNSString*constAVAudioSessionMediaServicesWereResetNotification//媒体服务重新启动

//视频

AVF_EXPORTNSString*constAVPlayerItemTimeJumpedNotification// 播放时间跳跃

AVF_EXPORTNSString*constAVPlayerItemDidPlayToEndTimeNotification// 播放结束

AVF_EXPORTNSString*constAVPlayerItemFailedToPlayToEndTimeNotification// 没能播放到最后

AVF_EXPORTNSString*constAVPlayerItemPlaybackStalledNotification// 播放抛锚

AVF_EXPORTNSString*constAVPlayerItemNewAccessLogEntryNotification// 添加新的访问日志条目

AVF_EXPORTNSString*constAVPlayerItemNewErrorLogEntryNotification// 添加新的错误日志条目

MP_EXTERNNSString*constMPMediaLibraryDidChangeNotification;//媒体库发生改变

MP_EXTERNNSString*constMPMediaPlaybackIsPreparedToPlayDidChangeNotification//后台准备播放发生改变

MP_EXTERNNSString*constMPMoviePlayerScalingModeDidChangeNotification;//视频缩放填充模式发生改变

MP_EXTERNNSString*constMPMoviePlayerPlaybackDidFinishNotification;//媒体播放完成或用户手动退出

MP_EXTERNNSString*constMPMoviePlayerPlaybackStateDidChangeNotification//播放状态改变

MP_EXTERNNSString*constMPMoviePlayerLoadStateDidChangeNotification//媒体网络加载状态改变

MP_EXTERNNSString*constMPMoviePlayerNowPlayingMovieDidChangeNotification//当前播放的媒体内容发生改变

MP_EXTERNNSString*constMPMoviePlayerWillEnterFullscreenNotification//将进入全屏

MP_EXTERNNSString*constMPMoviePlayerDidEnterFullscreenNotification//进入全屏后

MP_EXTERNNSString*constMPMoviePlayerWillExitFullscreenNotification//将要退出全屏

MP_EXTERNNSString*constMPMoviePlayerDidExitFullscreenNotification//退出全屏后

MP_EXTERNNSString*constMPMoviePlayerIsAirPlayVideoActiveDidChangeNotification//当媒体开始通过AirPlay播放或者结束AirPlay

MP_EXTERNNSString*constMPMoviePlayerReadyForDisplayDidChangeNotification//视频显示状态改变

MP_EXTERNNSString*constMPMovieMediaTypesAvailableNotification//确定了媒体可用类型后

MP_EXTERNNSString*constMPMovieSourceTypeAvailableNotification// 确定了媒体来源后

MP_EXTERNNSString*constMPMovieDurationAvailableNotification//确定了媒体播放时长后

MP_EXTERNNSString*constMPMovieNaturalSizeAvailableNotification//确定了媒体的实际尺寸后

MP_EXTERNNSString*constMPMoviePlayerThumbnailImageRequestDidFinishNotification//缩略图请求完成之后

MP_EXTERNNSString*constMPMoviePlayerTimedMetadataUpdatedNotification//同步元数据发生更新

MP_EXTERNNSString*constMPMoviePlayerContentPreloadDidFinishNotification//媒体内容预加载完成

MP_EXTERNNSString*constMPMusicPlayerControllerPlaybackStateDidChangeNotification;//播放状态改变

MP_EXTERNNSString*constMPMusicPlayerControllerNowPlayingItemDidChangeNotification;//播放内容改变

MP_EXTERNNSString*constMPMusicPlayerControllerVolumeDidChangeNotification;//音量发生改变

//拍照/录像

AVF_EXPORTNSString*constAVCaptureDeviceWasConnectedNotification//输入设备已连接

AVF_EXPORTNSString*constAVCaptureDeviceWasDisconnectedNotification//输入设备失去连接

AVF_EXPORTNSString*constAVCaptureDeviceSubjectAreaDidChangeNotification//捕获区域发生改变

AVF_EXPORTNSString*constAVCaptureInputPortFormatDescriptionDidChangeNotification//输入设备端口描述改变

AVF_EXPORTNSString*constAVCaptureSessionRuntimeErrorNotification//媒体会话运行错误

AVF_EXPORTNSString*constAVCaptureSessionDidStartRunningNotification//媒体会话开始运行

AVF_EXPORTNSString*constAVCaptureSessionDidStopRunningNotification//媒体会话停止运行

AVF_EXPORTNSString*constAVCaptureSessionWasInterruptedNotification//媒体会话中断

AVF_EXPORTNSString*constAVCaptureSessionInterruptionEndedNotification//媒体会话中断停止

//常用视图

UIKIT_EXTERNNSString*constUITableViewSelectionDidChangeNotification;//TableView选中发生改变

UIKIT_EXTERNNSString*constUITextFieldTextDidBeginEditingNotification;//TextField开始编辑

UIKIT_EXTERNNSString*constUITextFieldTextDidEndEditingNotification;//TextField发生改变

UIKIT_EXTERNNSString*constUITextFieldTextDidChangeNotification;//TextField结束编辑

UIKIT_EXTERNNSString*constUITextViewTextDidBeginEditingNotification;//TextView开始编辑

UIKIT_EXTERNNSString*constUITextViewTextDidChangeNotification;//TextView发生改变

UIKIT_EXTERNNSString*constUITextViewTextDidEndEditingNotification;//TextView结束编辑

UIKIT_EXTERNNSString*constUIWindowDidBecomeVisibleNotification;//window激活并展示在界面的时候触发

UIKIT_EXTERNNSString*constUIWindowDidBecomeHiddenNotification;//当window隐藏的时候触发

UIKIT_EXTERNNSString*constUIWindowDidBecomeKeyNotification;//当window被设置为keyWindow时触发

UIKIT_EXTERNNSString*constUIWindowDidResignKeyNotification;//当window的key位置被取代时触发

UIKIT_EXTERNNSString*constUIKeyboardWillShowNotification;//键盘将弹出

UIKIT_EXTERNNSString*constUIKeyboardDidShowNotification;//键盘弹出

UIKIT_EXTERNNSString*constUIKeyboardWillHideNotification;//键盘将要隐藏

UIKIT_EXTERNNSString*constUIKeyboardDidHideNotification;//键盘隐藏

UIKIT_EXTERNNSString*constUIKeyboardWillChangeFrameNotification//键盘frame将发生改变

UIKIT_EXTERNNSString*constUIKeyboardDidChangeFrameNotification//键盘frame发生改变后

//日期,时间

FOUNDATION_EXPORTNSString*constNSCalendarDayChangedNotification//日期发生改变

FOUNDATION_EXPORTNSString*constNSSystemClockDidChangeNotification//系统时钟发生改变

FOUNDATION_EXPORTNSString*constNSSystemTimeZoneDidChangeNotification//系统时区发生改变

//线程

FOUNDATION_EXPORTNSString*constNSWillBecomeMultiThreadedNotification;//将变成多线程

FOUNDATION_EXPORTNSString*constNSDidBecomeSingleThreadedNotification;//变成了单线程

FOUNDATION_EXPORTNSString*constNSThreadWillExitNotification;//线程退出

//程序

UIKIT_EXTERNNSString*constUIApplicationDidEnterBackgroundNotification//程序进入后台

UIKIT_EXTERNNSString*constUIApplicationWillEnterForegroundNotification//程序将进入前台

UIKIT_EXTERNNSString*constUIApplicationDidFinishLaunchingNotification;//程序加载完成

UIKIT_EXTERNNSString*constUIApplicationDidBecomeActiveNotification;//程序变成激活状态

UIKIT_EXTERNNSString*constUIApplicationWillResignActiveNotification;//程序将失去激活状态

UIKIT_EXTERNNSString*constUIApplicationDidReceiveMemoryWarningNotification;//接收到内存警告

UIKIT_EXTERNNSString*constUIApplicationWillTerminateNotification;//程序将终止

UIKIT_EXTERNNSString*constUIApplicationSignificantTimeChangeNotification;//新的一天开始或时区发生变化

UIKIT_EXTERNNSString*constUIApplicationWillChangeStatusBarOrientationNotification;//将改变状态栏方向

UIKIT_EXTERNNSString*constUIApplicationDidChangeStatusBarOrientationNotification;//状态栏方向以改变

UIKIT_EXTERNNSString*constUIApplicationWillChangeStatusBarFrameNotification;//将改变状态栏frame

UIKIT_EXTERNNSString*constUIApplicationDidChangeStatusBarFrameNotification;//状态栏frame发生改变

UIKIT_EXTERNNSString*constUIApplicationBackgroundRefreshStatusDidChangeNotification//后台刷新状态改变

UIKIT_EXTERNNSString*constUIApplicationUserDidTakeScreenshotNotification//截屏时触发通知

//硬件设备

UIKIT_EXTERNNSString*constUIDeviceOrientationDidChangeNotification;//设备方向改变

UIKIT_EXTERNNSString*constUIDeviceBatteryStateDidChangeNotification//电池状态改变

UIKIT_EXTERNNSString*constUIDeviceBatteryLevelDidChangeNotification//电池电量改变

UIKIT_EXTERNNSString*constUIDeviceProximityStateDidChangeNotification//距离感应器状态发生改变

//其它

UIKIT_EXTERNNSString*constUILocalNotificationDefaultSoundName//本地通知声音

UIKIT_EXTERNNSString*constUIPasteboardChangedNotification;//粘贴板发生改变

UIKIT_EXTERNNSString*constUIPasteboardRemovedNotification;//粘贴板内容移除

FOUNDATION_EXPORTNSString*constNSUserDefaultsDidChangeNotification;//NSUserDefaults发生改变

FOUNDATION_EXPORTNSString*constNSBundleDidLoadNotification;//bundle加载完成

你可能感兴趣的:(系统通知)