I am trying to implement sharing app with facebook. I used this code to take the screenshot:
CGSize imageSize = CGSizeMake(self.view.bounds.size.width, self.
On iOS7 you can have glitches if you use
[view drawViewHierarchyInRect:view.bounds afterScreenUpdates:YES]
during ongoing animation. Set afterScreenUpdates = NO to get rid of glitches.
afterScreenUpdates = NO