uiimageview

How do you make an Image View a Hyperlink on the iPhone?

My question is this: in many free iPhone apps adds which are basically imageViews are buttons. When pressed, they bring you to the iphone App store to buy whichever app was advertised. Can this be tweaked to open a hyperlink in the iphone's safari browser? and if so, how? ...

Move UIImageView inside accelerometer delegate

Hi all! my view controller is set to accept accelerometer delegate, and if I put the accelerometer value inside a label works... after I tried to move an UIImageView into my ViewController and nothing happens (the image is putted into the view from the interface builder... (i try to move the image using the frame origin properties) thank...

Fullscreen iPhone animation from PNG

Hi, I need in animation of sequence of more PNG files (300 png files and size is 320x480). I've try make it with 12 fps, but sometime iPhone 3g have lags... 3gs working fine. I think 2g working with lags always. I've use one UIImageView and loading images in NStimer callback by UIImage:imageWithContentOfFile. May be this is not best w...

IPhone- Rss sample code, modify to display images... PLease help!!!

Hi! I am trying to make app that displays an RSS feed, with text and images into a table, but I am really struggeling with it! I found a really good [sample code-project][1] that i can really recommend-- but im struggeling getting it to display images in the tablecells instead of only text I would be reeeeally happy with any help!! ...

Why does this UIImage disappear from UITableViewCell when rotating to landscape?

I'm trying to set up a UITableViewCell that can have an image in the upper right corner. I have it working for portrait mode, but when I rotate to landscape, the image disappears. Here's the code: - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *CellIdentifi...

How to render images from UIWebview

Hello, I am looking to load Webview with URL and get content(images) of that.Then scale it to display properly in small size of WebView ot Imageview. How to do that ? Thanks, ...

Iphone: XML image problem

Hi! I have a question about parsing XML and putting it into a table. I parsed the following elements from a RSS feed : title, dc:creator and enclosure url (= an image). The parsing is working, i can see everything showing up in the console. But when i try to load everything into the tablecell, everything shows up except for the image. ...

UIImageView Question - iPhone SDK

Hello, I want to write an "if" statement of an uiimageview to see which image is in the image currently. So if the uiimageview has this certain image, lets say "hello.png", then do this action. If it has "bye.png" then do this action. Thanks, Kevin ...

iPhone UIView Sizing & Image Drawing

I'm developing a custom UIView component. It's a simple little stopwatch, with PNG graphics for all the digits. There are lots of tutorials around, so I'm figuring most of it out on my own. But I have two questions: First of all, the component will always have a particular size (141 x 32), but I don't know how to specify that from withi...

iphone - On orientation change of iphone , rotate only one control and not all others

Hi, I'm having UIImageView, few lables, buttons etc in a view. Currently I have implementation for portrait mode. When orientation of iphone is changed, I just want to rotate only image view. Rest all other controls should not change. How can I implement the rotation of only image view? ...

Images appear cropped in iPod Touch, but they are fine on iPhone

Hi, I have images of size 100x50 each. I have to display them in an image view of smaller size. Hence I specify the image view frame width as 74 and height as 37 and I specify the content mode as UIViewContentModeScaleAspectFit. The images appear fine in simulator and also on iPhone 3G. But they appear slightly cropped at the bottom on ...

iphone iOS4 breaking app

Hi all, I have an application that has been running fine since its launch over a year ago. I developed it with iphone iOS 2.2.1 originally and tested and kept selling it up until 3.2 without issues. Now it fails to launch with iOS4. the app uses a non standard size for a UIPickerView (I don't think that's the problem but just mention...

Making an grid of an UIImageView

Hi, I don't know if this is possible, but I guess it is. I have a tableview with custom cells. These cells have a UIImageView as background. But because the size of the cell is relative I would like the image view to adapt its size. This is now problem, I can define that in the Interface Builder. But I don't want the corners of my ima...

Stop UIImageView scaling up on iPhone 4

Hi All I would like to stop a UIImageView from upscaling as it looks terrible. Unfortunately, I cannot control the UIImage content it is holding, so need to force it not to attempt the upscale on an iPhone 4 retina display. What's the best advice here? ...

Move UIImage by touchmove in increment of 20 pixels X-coord or Y-coord.

Hi. I'm quite new to programming and i having a problem right now figuring out some methods on my program. anyways i cant figure out how to work out my touchmove event. I want to move a uiimage in x direction or y direction depending on the direction of the touchmove event but i want the movement to be in a grid type movement like by 20 ...

How can i write the actions for image view when touch it in iphone-OS 4.0

Hi Buddies, I want to display the image in navigation bar instead of back button with action. So now i have used image view and displayed the image in the navigation bar. Now i want to write the actions for image view, when touch or click the image view. Is it possible to write a actions for image view?. I am currently working in iPhon...

isAnimating return is faulty for UIImageView for iPhone

I am finding that isAnimating is returning true even after it has completed the max # of loops and stopped animating. However once you move the UIImageView, it will suddenly update and change to false. Here are the important bits of my code: I set up the animation in the standard way: UIImageView* newImageView = ... newImageView.animat...

How to get/detect the active UIImageview in UIScrollview?

Dear all experts, I need to use 3 UIScrollView to Display images with 3 parts, Head, Body and Leg, and before the game start, the UIImageView will be displayed randomly in UIScrollView. User have to scroll them to match it as a Person. I use three Array: headArray, bodyArray and legArray to store the image name; and Then addsubview to...

Is there a way to move row to the selected row in UITableView on image click not on row selection

iam building an application in which iam showing the 5 small images in a single row of the UITable view cell. i want to make selection of row on each image clicked not on the selection of row . - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath { return 160; } - (UITableViewCell *)tableV...

Relation between UIView and UIImageView regarding animations... iPhone SDK

I have some animation blocks in my code which are causing my problems when I upgrade to iPhone OS4. I have read that it is now advised to use block-animations so I thought I would see if this solved my problems. Before I was using the following type of code to make an animation... [UIImageView beginAnimations:nil context:NULL]; [UIIma...