Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS 8 self.picker takePicture issues #20

Open
kylebuttress opened this issue Oct 19, 2014 · 4 comments
Open

iOS 8 self.picker takePicture issues #20

kylebuttress opened this issue Oct 19, 2014 · 4 comments

Comments

@kylebuttress
Copy link

I'm finding some odd issues with this Control and iOS8 specifically when using [self.picker takePicture], I have added a timer to the view and the app fires takePicture when the timer finishes.

Errors --->
Snapshotting a view that has not been rendered results in an empty snapshot. Ensure your view has been rendered at least once before snapshotting or snapshot after screen updates.

The picture is taken as expected however when the collection view loads the
file UzysGroupPickerView
[cell applyData:[self.groups objectAtIndex:indexPath.row]];

crashes. the app with an empty Array.

regards
Kyle

@uzysjung
Copy link
Owner

how come did you use takePicture ? UzysWrapperPickerController is private property.

are you customizing this library?

this error -> Snapshotting a view that has not been rendered results in an empty snapshot. Ensure your view has been rendered at least once before snapshotting or snapshot after screen updates.

I hope that this error will be fixed by Apple. :)

@kylebuttress
Copy link
Author

Hello,

I am adding the ability to use a timer to take a picture hence the takePicture, for the use of my app.

I think from what I have read the Snapshot issue is an Apple Bug. I though I would mention it to you.

thanks

I really like what you have made, its very useful.

regards

Kyle

@uzysjung
Copy link
Owner

Thanks , before apple bug fixed , I open this issue.

@wilddylan
Copy link

  1. this is a chatView
  2. when i open camera for take photo , dismiss vc
  3. my inputView dismiss.... why ?
  4. my inputView init with method: viewDidLoad.

// some message before i use it. Snapshotting a view that has not been rendered results in an empty snapshot. Ensure your view has been rendered at least once before snapshotting or snapshot after screen updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants