{ "id": "152707", "key": "TIMOB-19888", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2015-11-06T23:33:06.000+0000", "created": "2015-11-06T20:01:21.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "qe-5.1.0" ], "versions": [ { "id": "14826", "description": "Release 5.1.0-remaining iOS9 features, Android M features", "name": "Release 5.1.0", "archived": false, "released": true, "releaseDate": "2015-11-20" } ], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-24T18:58:17.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "When the iOS native gallery is accessed from with an app, using 3D touch features peek/preview on an image will cause the app to crash with the following error: \r\n{code:java}\r\n[ERROR] : The application has crashed with an uncaught exception 'NSInvalidArgumentException'.\r\n[ERROR] : Reason:\r\n[ERROR] : +[NSObject previewingContext:viewControllerForLocation:]: unrecognized selector sent to class 0x1a075a020\r\n[ERROR] : Stack trace:\r\n[ERROR] : \r\n[ERROR] : 0 CoreFoundation 0x0000000183f2cf48 + 124\r\n[ERROR] : 1 libobjc.A.dylib 0x00000001993d7f80 objc_exception_throw + 56\r\n[ERROR] : 2 CoreFoundation 0x0000000183f33b54 + 0\r\n[ERROR] : 3 UIKit 0x0000000189cf438c + 172\r\n[ERROR] : 4 UIKit 0x0000000189847d7c + 248\r\n[ERROR] : 5 UIKit 0x0000000189afcd4c + 224\r\n[ERROR] : 6 UIKit 0x0000000189afd848 + 136\r\n[ERROR] : 7 UIKit 0x0000000189afe8c0 + 100\r\n[ERROR] : 8 UIKit 0x0000000189a3b330 + 164\r\n[ERROR] : 9 UIKit 0x0000000189664b5c + 172\r\n[ERROR] : 10 UIKit 0x00000001894f285c + 784\r\n[ERROR] : 11 UIKit 0x0000000189a3c70c + 72\r\n[ERROR] : 12 UIKit 0x00000001894b18b8 + 372\r\n[ERROR] : 13 UIKit 0x00000001894ae63c + 2404\r\n[ERROR] : 14 UIKit 0x00000001894f06cc + 1132\r\n[ERROR] : 15 UIKit 0x00000001894efcc8 + 764\r\n[ERROR] : 16 UIKit 0x00000001894c04a4 + 248\r\n[ERROR] : 17 UIKit 0x00000001894be76c + 5528\r\n[ERROR] : 18 CoreFoundation 0x0000000183ee4544 + 24\r\n[ERROR] : 19 CoreFoundation 0x0000000183ee3fd8 + 540\r\n[ERROR] : 20 CoreFoundation 0x0000000183ee1cd8 + 724\r\n[ERROR] : 21 CoreFoundation 0x0000000183e10ca0 CFRunLoopRunSpecific + 384\r\n[ERROR] : 22 GraphicsServices 0x000000018f394088 GSEventRunModal + 180\r\n[ERROR] : 23 UIKit 0x0000000189528ffc UIApplicationMain + 204\r\n[ERROR] : 24 i3DtouchBug 0x0000000100085aa8 i3DtouchBug + 23208\r\n[ERROR] : 25 libdyld.dylib 0x0000000199c1a8b8 + 4\r\n[ERROR] : *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[NSObject previewingContext:viewControllerForLocation:]: unrecognized selector sent to class 0x1a075a020'\r\n[ERROR] : *** First throw call stack:\r\n[ERROR] : (0x183f2cf48 0x1993d7f80 0x183f33b54 0x189cf438c 0x189847d7c 0x189afcd4c 0x189afd848 0x189afe8c0 0x189a3b330 0x189664b5c 0x1894f285c 0x189a3c70c 0x1894b18b8 0x1894ae63c 0x1894f06cc 0x1894efcc8 0x1894c04a4 0x1894be76c 0x183ee4544 0x183ee3fd8 0x183ee1cd8 0x183e10ca0 0x18f394088 0x189528ffc 0x100085aa8 0x199c1a8b8)\r\n{code}\r\n\r\nh2. Steps to Reproduce: \r\n1. Create a classic app.\r\n2. Include {{Ti.Media.openPhotoGallery();}} in app.js.\r\n3. Build project to either 6S or 6S + device.\r\n4.Navigate to an image and press with force to initiate 3D touch.\r\n\r\nh2. *Actual Result:* \r\nApp will crash immediately upon 3D touch.\r\n\r\nh2. *Expected Result:* \r\nApp should not crash, and open up image preview.\r\n\r\n\r\n", "attachment": [], "flagged": false, "summary": "iOS 9: 3D touch peek/preview from native gallery causes app to crash", "creator": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "environment": "Mac OSX El Capitan 10.11 (15A284)\r\nTi SDK: 5.1.0.v20151104190037 \r\nAppc NPM: 4.2.1\r\nAppc CLI: 5.1.0-42\r\nTi CLI: 5.0.4\r\nAlloy: 1.7.23\r\nXcode 7.1(7B91b)\r\nNode v0.12.7\r\nproduction", "comment": { "comments": [ { "id": "369207", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "iOS issue: \r\n* https://forums.developer.apple.com/thread/21932\r\n* http://stackoverflow.com/questions/33331758/uiimagepickercontroller-crashing-on-force-touch", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-11-06T20:12:05.000+0000", "updated": "2015-11-06T20:12:37.000+0000" }, { "id": "415721", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket with reference to the previous comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-24T18:58:17.000+0000", "updated": "2017-03-24T18:58:17.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }