Post

Replies

Boosts

Views

Activity

UIAlertController disappearing instantaneously for iOS 15
I am using EAAccessoryManager to connect to bluetooth device. The code is working correctly but for iOS 15 when there is an error the error message disappears straight away. here is the code that I am EAAccessoryManager *accessoryManager = [EAAccessoryManager sharedAccessoryManager]; NSPredicate *predicate = [NSPredicate predicateWithFormat:@"self BEGINSWITH %@ OR self BEGINSWITH %@", FIRSTVALUE, SECONDVALUE]; [accessoryManager showBluetoothAccessoryPickerWithNameFilter:predicate completion:completionBlock]; The completion block is hit after the AlertDialog has disappeared. I have tried setting it to nil and still get the same behaviour for iOS 15 The bluethooth device shows the following message for iOS 14 and below. For iOS 15 it shows for a split second and dismisses itself. This is the error I am getting EABluetoothAccessoryPickerErrorDomain Any one know why iOS 15 might be having this behaviour. Any help would be appriciated.
2
0
603
Nov ’21
UIAlertController disappearing instantaneously for iOS 15
I am using EAAccessoryManager to connect to bluetooth device. The code is working correctly but for iOS 15 when there is an error the error message disappears straight away. here is the code that I am EAAccessoryManager *accessoryManager = [EAAccessoryManager sharedAccessoryManager]; NSPredicate *predicate = [NSPredicate predicateWithFormat:@"self BEGINSWITH %@ OR self BEGINSWITH %@", FIRSTVALUE, SECONDVALUE]; [accessoryManager showBluetoothAccessoryPickerWithNameFilter:predicate completion:completionBlock]; The completion block is hit after the AlertDialog has disappeared. I have tried setting it to nil and still get the same behaviour for iOS 15 The bluethooth device shows the following message for iOS 14 and below. For iOS 15 it shows for a split second and dismisses itself. This is the error I am getting EABluetoothAccessoryPickerErrorDomain Any one know why iOS 15 might be having this behaviour. Any help would be appriciated.
Replies
2
Boosts
0
Views
603
Activity
Nov ’21