rubymotion-community / BubbleWrap

Cocoa wrappers and helpers for RubyMotion (Ruby for iOS and OS X) - Making Cocoa APIs more Ruby like, one API at a time. Fork away and send your pull requests
Other
1.18k stars 208 forks source link

Image sym is odd #485

Open edenvicary opened 8 years ago

edenvicary commented 8 years ago

So I'm doing a

BW::Camera.any.picture do |result|
  mp result

and the result is

{
  :"\e[4mOriginalImage\e[0m"   => #<UIImage:0x11c749fb0>,
  :"\e[4mMediaType\e[0m"       => "public.image",
  :"\e[4mReferenceURL\e[0m"    => #<NSURL:0x11c74dbd0, URL="assets-library://asset/asset.JPG?id=5291A6BF-EB16-43A6-9C56-CF80F8E49C17&ext=JPG">
}

When I try and access it by result[:original_image] like the API describes, it returns nil. So any ideas why I can't use it the way it's shown in the readme?