File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -300,15 +300,15 @@ - (NSMutableDictionary *)baseQuery {
300300 (__bridge id )kSecAttrService : self.service ,
301301 (__bridge id )kSecUseAuthenticationUI : (__bridge id )kSecUseAuthenticationUIAllow ,
302302 } mutableCopy];
303-
304- #if A0LocalAuthenticationCapable
305- [attributes setObject: _localAuthenticationContext forKey: (__bridge id )kSecUseAuthenticationContext ];
306- #endif
307-
303+
308304#if !TARGET_IPHONE_SIMULATOR
309305 if (self.accessGroup ) {
310306 attributes[(__bridge id )kSecAttrAccessGroup ] = self.accessGroup ;
311307 }
308+
309+ #if A0LocalAuthenticationCapable
310+ attributes[(__bridge id )kSecUseAuthenticationContext ] = self.localAuthenticationContext ;
311+ #endif
312312#endif
313313
314314 return attributes;
You can’t perform that action at this time.
0 commit comments