0

I found this good link how to get selected images.

I am trying to set image that I get from extension context to image view that I placed in storyboard.

this my print out code po self.theImageView:

<UIImageView: 0x7b8a1c90; frame = (240 89; 52 41); opaque = NO; autoresize = RM+BM; userInteractionEnabled = NO; layer = <CALayer: 0x7b887fa0>> - (null)

and this is po self.theImageView.image

<UIImage: 0x7a6977f0>

So I even can see image using eye tool when debug it: enter image description here

But on the screen of my simulator there is no visible image.

Matrosov Oleksandr
  • 25,505
  • 44
  • 151
  • 277
  • 1
    Did you verify that the name of the image file and the image file you're loading are the same (and case identical)? – rebello95 Apr 11 '15 at 21:28
  • @rebello95, not sure I understand ) I get image from extension using share button, so after I get images from context I can simple set them, If you can see I have image on my question and if I tap eye button I see selected image I want share from photos. So I just simple set it to image view as usual and eye helps me indicate if that's needed image. and that's it. but there is not image on UI so screen with my custom extension view has just my text views and buttons, but no image ( – Matrosov Oleksandr Apr 11 '15 at 21:32
  • @rebello95, seems like due load items delay, after I push new controller and then pop back I see that image – Matrosov Oleksandr Apr 11 '15 at 22:01
  • I had this same problem last week. The problem was with the image. Image had white bg with black circle and my simulator couldn't process it. – Sreejith Apr 12 '15 at 05:08
  • @Sreejith, and how did you solve it. – Matrosov Oleksandr Apr 13 '15 at 18:39
  • @MatrosovAlexander I created a new image with plain bg (Removed the white portion) and it worked. – Sreejith Apr 14 '15 at 06:44
  • @Sreejith in my case it was this problem http://stackoverflow.com/questions/29616701/ios-8-share-extension-show-shared-image-issue?noredirect=1#comment47379419_29616701 – Matrosov Oleksandr Apr 14 '15 at 14:53

0 Answers0