3 ms·
Seems to be crashing when clicking 'show picker' on my iPhone 4... does it work on 4S only?
by cmicali 14y ago
Seems to be crashing when clicking 'show picker' on my iPhone 4... does it work on 4S only?
- zmitri 14y agoAny more details? I recently added a device check for flash and didn't test on iPhone 4. Will look into it.
- cmicali 14y agoSorry should have added that to begin with! 012-08-22 13:41:27.291 DLCImagePickerController[759:907] Application windows are expected to have a root view controller at the end of application launch 2012-08-22 13:41:35.036 DLCImagePickerController[759:907] * Terminating app due to uncaught exception UIViewControllerHierarchyInconsistency', reason: 'A view can only be associated with at most one view controller at a time! View <UIView: 0x1ed53f50; frame = (0 0; 320 480); autoresize = W+H; layer = <CALayer: 0x1ed53f20>> is associated with <UIViewController: 0x1ed53cb0>. Clear this association before associating this view with <DLCImagePickerController: 0x1edcd370>.'
- zmitri 14y agowhat version of xcode are you using? I used IB so maybe inconsistency in xib format?
- cmicali 14y agoThat might be it - xcode 4.5 DP4 - i'll try with 4.4 Edit: Yeah, works fine in 4.4. Thanks! Thanks for open-sourcing this... I was about 40% into the process of building the exact same thing on top of GPUImage and this looks really well done.
- zmitri 14y agoJust tested on an iPhone 4 and it works http://i.imgur.com/r3i7t.jpg http://i.imgur.com/r3i7t.jpg If you can let me know where it goes wrong, or submit a pull to fix it, I would be a very happy guy
- jawngee 14y agoGPUImage can't work with full resolution images on an iPhone 4, only iPhone 4s, iPad Retina. Texture size limitation. * One possible explanation.
- zmitri 14y agoNah it works, his issue was because I used xibs. To be fair, the front camera is buggy because of this sometimes though.