i\'m making function that takes photo and shows it to user, than u can see it in a history view controller. so how to save captured photo to array and library than when butt