We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18645e9 commit 072c762Copy full SHA for 072c762
1 file changed
dConnectDevicePlugin/dConnectDeviceHost/dConnectDeviceHost/Classes/DPHostService.m
@@ -48,7 +48,10 @@ - (instancetype) initWithFileManager: (DConnectFileManager *) fileMgr plugin: (i
48
[self addProfile:[DPHostFileProfile new]];
49
[self addProfile:[DPHostMediaPlayerProfile new]];
50
[self addProfile:[DPHostMediaStreamRecordingProfile new]];
51
- [self addProfile:[DPHostNotificationProfile new]];
+ float iOSVersion = [[[UIDevice currentDevice] systemVersion] floatValue];
52
+ if(iOSVersion >= 10.0) {
53
+ [self addProfile:[DPHostNotificationProfile new]];
54
+ }
55
[self addProfile:[DPHostPhoneProfile new]];
56
[self addProfile:[DPHostProximityProfile new]];
57
[self addProfile:[DPHostSettingProfile new]];
0 commit comments