Tapping the camera button in CoreML Vision Simple when running on an iPad would cause the app to crash because the action sheet had nothing to attach to. This adds a small block to check if the action sheet has an attach point and if it doesn't it adds one in the middle of the screen.
Tapping the camera button in CoreML Vision Simple when running on an iPad would cause the app to crash because the action sheet had nothing to attach to. This adds a small block to check if the action sheet has an attach point and if it doesn't it adds one in the middle of the screen.