Please do not post the same thing multiple times. The board software automatically flags certain posts as needing moderator attention. This happens the most often for new users. I'm pretty sure this is made clear at the time you attempt to post. Posting the same thing over and over again just makes that many more posts the moderators have to weed through later. This makes us sad. Don't make us sad. If your post/thread doesn't appear, just wait a while. Don't post it again. If it hasn't shown up by the next day, then you can try again. I normally go through posts in the mornings, and try to check a few times throughout the day, but I'm not here 24/7. There will typically be a significant delay before posts are approved. Just be patient.
Hi, I'm currently making an app where the user takes a photo or select it from an album, then an overlay is placed over the image. The user can then scale, rotate and save the image.
For now, I have 2 xib files. The first one has thumbnails for overlay pictures to choose from. Clicking on on of them goes to another xib file where I have 2 UIImageViews. One for the overlay and one for the camera. Previously I just used interface builder to set an image at the attributes. But if have 20 overlays, it means I have to use 20 xibs. So I thought the best way is to add pictures through code so I can use this 2nd xib as a template for the overlays. Here's when I'm stuck. When I click on a thumbnail in the 1st xib file, how do tell the 2nd xib file to store an overlay in the UIImageView?
Yea the images are in the resources folder. I thought it would work too I must be doing something wrong with the logic. I have a button on the 1st xib and an UIimageview in the 2nd xib. How do I tell the 2nd xib to load an image after pressing a button on the 1st one?
Just in case I haven't mention this properly. I have two UIImageViews overlapping on the 2nd xib. One is for an overlay and the other is for the camera. For some reason the camera works since I'm using "UIImagePickerControllerOriginalImage" but I can't load the overlay :(
Replies
where are the images that you want to show?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like AwesomeYea the images are in the resources folder. I thought it would work too I must be doing something wrong with the logic. I have a button on the 1st xib and an UIimageview in the 2nd xib. How do I tell the 2nd xib to load an image after pressing a button on the 1st one?
Just in case I haven't mention this properly. I have two UIImageViews overlapping on the 2nd xib. One is for an overlay and the other is for the camera. For some reason the camera works since I'm using "UIImagePickerControllerOriginalImage" but I can't load the overlay :(
Thanks very much in advance.
- Hakimo
www.lcgdi.com
"Learn and Play"
<a href="http://www.facebook.com/pages/Shah-Ala
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesome