AVCaptureMetadataOutputObjectsDelegate Crashes only on iPad
up vote
0
down vote
favorite
This line crashes only on iPads. I am using swift 4.2. I am setting up a upc scanner:
func metadataOutput(_ output: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from connection: AVCaptureConnection){
swift avcapturesession
add a comment |
up vote
0
down vote
favorite
This line crashes only on iPads. I am using swift 4.2. I am setting up a upc scanner:
func metadataOutput(_ output: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from connection: AVCaptureConnection){
swift avcapturesession
Are you able to reproduce it or is it just from crash logs? If it's just crash log, what's inside that delegate method? Also, could you try reproducing it to find the exact line?
– Larme
8 hours ago
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
This line crashes only on iPads. I am using swift 4.2. I am setting up a upc scanner:
func metadataOutput(_ output: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from connection: AVCaptureConnection){
swift avcapturesession
This line crashes only on iPads. I am using swift 4.2. I am setting up a upc scanner:
func metadataOutput(_ output: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from connection: AVCaptureConnection){
swift avcapturesession
swift avcapturesession
asked 9 hours ago
jimijon
5621821
5621821
Are you able to reproduce it or is it just from crash logs? If it's just crash log, what's inside that delegate method? Also, could you try reproducing it to find the exact line?
– Larme
8 hours ago
add a comment |
Are you able to reproduce it or is it just from crash logs? If it's just crash log, what's inside that delegate method? Also, could you try reproducing it to find the exact line?
– Larme
8 hours ago
Are you able to reproduce it or is it just from crash logs? If it's just crash log, what's inside that delegate method? Also, could you try reproducing it to find the exact line?
– Larme
8 hours ago
Are you able to reproduce it or is it just from crash logs? If it's just crash log, what's inside that delegate method? Also, could you try reproducing it to find the exact line?
– Larme
8 hours ago
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
You were correct. The crash log gave me the line number of the delegate. Turns out it was inside as you suggested, and it just happened that the two iPads had a setting of a flag that didn't exist in the database while all the iPhones for testing didn't try to set that flag. Thanks for looking.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
You were correct. The crash log gave me the line number of the delegate. Turns out it was inside as you suggested, and it just happened that the two iPads had a setting of a flag that didn't exist in the database while all the iPhones for testing didn't try to set that flag. Thanks for looking.
add a comment |
up vote
0
down vote
You were correct. The crash log gave me the line number of the delegate. Turns out it was inside as you suggested, and it just happened that the two iPads had a setting of a flag that didn't exist in the database while all the iPhones for testing didn't try to set that flag. Thanks for looking.
add a comment |
up vote
0
down vote
up vote
0
down vote
You were correct. The crash log gave me the line number of the delegate. Turns out it was inside as you suggested, and it just happened that the two iPads had a setting of a flag that didn't exist in the database while all the iPhones for testing didn't try to set that flag. Thanks for looking.
You were correct. The crash log gave me the line number of the delegate. Turns out it was inside as you suggested, and it just happened that the two iPads had a setting of a flag that didn't exist in the database while all the iPhones for testing didn't try to set that flag. Thanks for looking.
answered 3 hours ago
jimijon
5621821
5621821
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53266016%2favcapturemetadataoutputobjectsdelegate-crashes-only-on-ipad%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Are you able to reproduce it or is it just from crash logs? If it's just crash log, what's inside that delegate method? Also, could you try reproducing it to find the exact line?
– Larme
8 hours ago