Hello,
I need to get the size of an IBOutlet UIImageView drawn in Interface Builder.
But if I read the IBOutlet UIIMageView.image.size.width or .height in the viewDidLoad, viewWillAppear or viewDidAppear method I always get 0 !!!
Where (which method) and how (may be an other variable ?) can I get this information ?
Thank you for your...
Hi All!
I am a beginner at Obj-C/Cocoa Touch/iPhone OS.
I wish to have a background for my app with different images everytime the the view is called.
Say I have 10 images. I 've used it like this:
//random image generation
NSString* imageName;
int aRandomNumber = arc4random() % 10;
imageName =[NSString stringWithFormat:@"g%d.jpg",aR...
This is a very beginner problem. I'm trying to display an image taken with the camera, but when I display the image in a UIImageView the image is blown up. For instance, if I take a picture of a persons face, when I display the image, it will be blown up so much that it's pixelated and all I see is a portion of a nose (or whatever). What...
Hi,
I would like to add some rounded corners to all of the UIImageViews in my project. I have already got the code working, but am having to apply it to every image; should I subclass UIImageView to add this? If so, can someone give me some pointers as to how to do this?
Here is the code
- (void)viewDidLoad {
[super viewDidLoad];
...
The UIImageView is placed in interface builder.
I already created an IBOutlet.
How do i programmatically change the UIImageView to view another image.
Can someone please help me?
...
Hi Fellas,
I am developing an application which requires saving images in the "saved folder" of iPhone Photo album after performing some animations on ImageViews. Is it possible to save the incomplete images temporarily in the iphone application without using database or server side saving technique, so that user can use it for future u...
Hello all!
I have a problem, I can't solve properly.
In short: I want to create a single view (say: UIImageView) out of multiple subviews - i.e. it consists out of multiple ImageViews and TextViews. The thing is, I want to sort of 'render' them to be a single View.
Say, I take an image, add some description below, add a title above,...
How to get the filename from a given UIImage object?
...
Hello all,
I want to rotate an UIImageView in the following manner: If I hold the imageview and move the finger to left, then the imageview should rotate to the right (and vice-versa.)
Here is the link Balance
...
I just don;t know how to do this. I want more flexibility to edit the image
...
I am using a UITabBarController with 3 items and am curious how to access a method from the first tab if I am on the second or third tab. The problem I am running into is I have a UIImageView on the first tab that is using core animation to loop continuously through 3 images. But when I switch to the second tab and try to switch back to ...
Hi, I have a question regarding a png, animated image sequence.
I am loading images from 1 - 35 into a layer and I am initializing the layer with the 1st image using - initWithImage. I have several buttons that want to be able to play different ranges of the image sequence array.
Is there a way to play only the images from 1 - 10?
I...
DetailsViewController.h
{
UIImageView *Image;
}
@property(retain, nonatomic) IBOutlet UIImageView* Image;
DetailsViewController.m
- (void)viewDidLoad {
[super viewDidLoad];
self.Title.text = location.title;
self.desc.text = location.description;
this is the code to pull data from plist whenever user select a row in the uit...
Is it possible to use the touchesMoved function with buttons instead of UIImageViews?
...
The app that I am creating uploads images in four(the fourth is a test function) ways;
1.Directly from UIImagePickerController with UIImagePickerControllerSourceTypeCamera like this:
//didFinishPickingImage method
if ([picker sourceType] == UIImagePickerControllerSourceTypeCamera)
{
UIImageWriteToSavedPhotosAlbum(img, nil, nil, nil);
}...
There is a custom UIImageView under "Black Translucent" UINavigationBar, but I'm not too happy with the result. The custom image is not visible enough and while changing navigation bar alpha value brings it more visible, it makes the navigation bar title and buttons less visible.
Question: I want a fully visible custom UINavigationBar b...
This is probably not as hard as I think it is, but how can I select part of an image? Consider the following example:
The grey area is an image in the PNG or JPG Format, now I want to select the red 80x80 px area from it. The red area should be displayed, the rest not. I have tried numerous approaches:
Make ckipsToBounds of UIImageV...
I'm interested in showing a blue dot in my table cells just like the Mail application does for unread emails. My understanding is there is no easy way of doing this except to create the images myself and set the image properties of my cells.
So now I have created two square images, one with a blue dot and another blank image with the sa...
Hi, all!
I'm developing a game in which I have a bow and arrow. I have to move both bow and arrow imageViews on touch through different angles for which I'm applying CGAffineTransform.
The problem is this that after rotation, bow and arrow change their positions, so the arrow does not stay at the center of the bow. I want to fi...
I have a UITableView in which of course I use some UITableViewCells. Now some cells have an icon / image which I want to display in front of the text, and some others don't. I didn't create the UITableViewCells in Interface Builder, just using the default stuff :
// Customize the appearance of table view cells.
- (UITableViewCell *)ta...