Hi guy,
I want to create an UIImage of UIWebView and then I want to draw that image.
Here is my code:
UIWebView *tempView = [[UIWebView alloc] initWithFrame:CGRectMake(0, 44, 700, 1024)];
[webView loadHTMLString:@"Display This String" baseURL:nil];
UIGraphicsBeginImageContext(tempView.bounds.size);
[tempView drawRect:tempView.bounds]...
I want to apply an rotation to an uiimageview for shapes like "U" and "T" using compund objects and box2D, because "U" shapes are concave polygons so i can't do it using b2polygondef only.
Here it is the method to make an "u" shape box when the user click on the screen
// map from the world to the screen and screen to the world
#define...
I'm noticing that some of the things that I do with images in my app, I could be doing with CALayer properties instead (i.e. borders, shadows, gradients, and so on). So I'm wondering, in general, is it a better idea to use CALayers and such, or just do all that stuff in photoshop and use UIImage(View)s for whatever I need? Scrolling perf...
I have a UIImageView object in one of my classes, but I need to set that view from within another class.
How is access granted to that method?
Regards
...
Hello :-)
I have a view in which I paint a dotted line when the user moves their finger across the screen of the iPad/iPhone. I draw the line between a point stored as LastLocation, and the point that is the CurrentLocation. The drawings are to be persistant on the screen.
This happens every time the touchMoved event is fired, and ends...
Hello,
What I am trying to do is to present an image at the top of the view and beneath it to show the details of it.
By now I am using a UITableView and a UIImageView. The UIImageView is at the top of the View and the UITableView beneath the UIImageView. In the UIImageView I load an image and I want to let the user to pan/zoom it. In ...
i try to make an animation on UIImageView. is it enough ? or i need to use Core animation instead?
i want to animate
picture 1 , 2, 3, ..., 14
how to reanimate from 14, 13 ,12 ,..., 1
here is my code
NSArray *myImages = [NSArray arrayWithObjects:
[UIImage imageNamed:@"phe01.png"],
[UI...
Hi,
I want to create an UIImageView with, for example, "Trend.jgp" for a special case (if-condition). I Tried various ways with CGRectMake but i'm not able to create this picture dynamically to a special place. Furthermore, i can't use the function setimage like it's described in the Developer Documentation.
Has anyone got an idea how ...
Hi everyone,
I'm trying to subclass UIImageView in order to create an instance of the subclass which plays different animations, depending on a variable I send it. My initial code (before subclassing) for playing a specific 2 frame animation looked like this. 'bubbleAnimationTemp' is just a UIImageView object I declared in the header: ...
Hi all,
i want to display an UIImage within a UIImageView but it doesn't work and i don't know why.
could you please help me.
i am using the following coding:
-(void) showCorrectedImage {
MyAppDelegate *delegate = (MyAppDelegate *)[[UIApplication sharedApplication] delegate];
CorrectedImageController *imageController = [[Corrected...
I have an image that I would like to display in a UITableViewCell using the UITableViewCellStyleSubtitle style that provides a UIImageView, and two lines of text, plus an optional accessory view.
However, when I set the content mode of the UIImageView to either of UIViewContentModeScaleAspectFit or UIViewContentModeScaleAspectFill, it ...
How could I populate a table in my iPhone app from select photos from the photo library? Should I save them to a folder local to the application, and how?
...
Let's say I have a property in my view controller, defined as follows:
@property (nonatomic, retain) UIImageView *checkmarkOffAccessoryView;
I @synthesize this in the implementation, release it in -dealloc and initialize it in -viewDidLoad as follows:
self.checkmarkOffAccessoryView = [[[UIImageView alloc] initWithImage:[UIImage image...
Hi,
I'm using a piece of code I have used several times before to load an image into a UIImageView
- (void)viewDidLoad {
[super viewDidLoad];
UIImage *img = [UIImage imageWithContentsOfFile:[[NSBundle mainBundle]pathForResource:@"1" ofType:@"png"]];
[self.imgWeather setImage:img];
}
For some reason I get a SIGABRT when I...
In some of the applications, I have seen that we have an option to increase or decrease the fontSize of the text inside the label. But when we adjust it, the label automatically increases its height to contain it. How do we get the height of the label everytime we increase or decrease the fontsize?
And in some cases like news applicatio...
Can anyone kindly put me on the right path as to how to go about animating an object as though it's being rotated by touch+drag? We took images of an object sitting on a rotating tray at 10-degree intervals.
I was tinkering with Titanium and had a demo running whereby I simply changed the image to the next (or previous) image in an arr...
Hi there. I am trying to figure out how to use the UIIMagePicker or some way to use the iPhone 4's Backlight LED. I am trying to use a UIView with a button on it to turn the LED on & off without showing any video. Is this even possible? Any help?
EDIT
I've been using AVCaptureDevice class or at least trying to. When it comes to importi...
In some news applications when it loads it shows a list of articles. When we click on an article, it goes to its detailed page. In the detailed page 1st there will be only the text related to the article. But suddenly an image comes(related to the article) on the top left corner and the text re-aligns itself to contain the image.
Wht ar...
I'm stuck on the following code.
Some how my UIButton Extended class cant show or hide an UIImageView
My methods are being called and the imageview is not nil.
Here is the code:
@interface UILinkedImageButton : UIButton {
IBOutlet UIImageView *linkImageView;
}
@property (nonatomic, retain) IBOutlet UIImageView *linkImageView;
@e...
Hi all
Just a small warning for the ones of you who work with a lot of images.
Today I was copying (drag n drop) a lot of PNG images into my xcode project (I'm using 3.2.3). Half way through the copying xcode stopped because there was already a file with the same name. No problem. Deselected that file and copied the rest. All seemed f...