I'm hoping someone can steer me in the right direction.
I need to be able to update images on the screen one at a time
after a button is pressed. It appears that they only get updated
at the end of the cycle which is not how I need it to work.
I created a little example to show what I am doing.
Basically I have 3 images on the screen...
Hi,
I am developing an iPhone version of this game. http://www.students.uni-mainz.de/rathb000/Fillit/Game.html
I am using an NSTimer to change the position of the ship by 1 pixel and the time interval for the timer is 0.002.
However, i have noticed that the ship doesnt move faster if i reduce the time interval furthur. Infact, there...
Hi,
I would like to create a user interface which would contain network indication icons (3G, WiFi...) and I would like to use existing graphic elements which are displayed in notification bar.
Does anyone know how to get these existing elements and use it in custom layout?
I guess these icons are all ImageView elements and I am wonde...
I'd like to deflect a ball at an angle depending on where it hits a paddle. Right now, I'm only changing the y coordinate, which results in an uninteresting deflection. It will angle but independent on impact location against the paddle. I'd like something more fun. Speed, momentum, mass and other factors don't need to be taken into co...
I'm subclassing UIImageView to create a tile-based application. Essentially, I am taking a single image file and breaking it up into pieces, and then assigning the pieces to my tiles (UIImageViews), so that they can be manipulated independently.
What's the best way to grab a portion of an image and use that to draw a UIImageView? I th...
I have several different color block images that are reused in my game many times (its a simple rectangle for a puzzle game). I would like to apply a transparent overlay to each one of these images on the fly (a symbol for the puzzle block) which can be one of several different images. Is there a "best" way to get this done? Creating a s...
I have multiple UIImageViews with userinteraction enabled. I am implementing touchesBegan, is there a way to guess which imageview was touched rather than making a rect based on all imageviews and check for the touch point existence in them?
I also have assigned different tags to each imageview.
...
I use the same big images in a tableView and detailView.
Need to make imageView filled in 40x40 when an imags is showed in tableView, but stretched on a half of a screen. I played with several properties but have no positive result:
[cell.imageView setBounds:CGRectMake(0, 0, 50, 50)];
[cell.imageView setClipsToBounds:NO];
[cell.imag...
I have read several post on both matters but I haven't seen anyone comparing so far.
Suppose I just want full screen animation without any transparency etc, just a couple of seconds animation (1''-2'') when an app starts. Does anyone know how "video" compares to "sequence of images" (320x480 @ 30) on the iPhone, regarding performance et...
Ideally an NSCoding compliant class will work as expected using encodeWithCoder: and initWithCoder: (at least I thought so till recently) without the developer having to bother about what goes on inside the routines (unless my idea of an NSCoding compliant class are totally screwed up!)
The UIImageView class is NSCoding compliant. So I ...
I am a newbie in Obj-C. I need to learn this better so please tell me what I am doing wrong..
I have an array of Images.... at various points of exec I need to replace the last element with one of the preceding images... so the last image always replicates one of the images before.
When I do the replacement, it throws an exception! If ...
Hi,
Recently I've been trying to save on render time by minimizing the amount of time spent on allocation and duplication of resources as images by using an already allocated UIImageViews and UIImages.
What I try to do is maintain a map of all UIImages - each one unique, and reassign each one to to several UIImageViews, by demand from ...
I've set up an Objective-C category for an iPhone app's UIImageView class. The category's mission is to help load URL-based images asynchronously with memory/disk caching.
Now, in UIImageView+Cache.m I have access to an NSOperationQueue so I can kick off a loading thread. I create an NSOperation-derived object, initialized with the imag...
Hi,
I want to add multiple objects of UIImageView at run time. I just read that its possible through NSMutableArray.
But I also want to move that all objects of the UIImageView. Is it possible to track, on which UIImageView's object I touched?
Please help me. Any type of help will be accepted.
Thanks
...
I have a fullscreen background image that is tiled, i.e. it has to be reproduced a few times horizontally and vertically in order to make a big one. Like in the browsers on ugly home pages ;)
Is UIImageView my friend for this?
...
I've got a UIImageView (full frame and rectangular) that i'm rotating with a CGAffineTransform. The UIImage of the UIImageView fills the entire frame. When the image is rotated and drawn the edges appear noticeably jagged. Is there anything I can do to make it look better? It's clearly not being anti-aliased with the background.
...
I have a car image in a UIImageView, with movement and rotation animations.
I have a tyre-mark image in a UIImageView, which i've added as a subview to the car.
This means that all the same movement and rotation animations apply to both.
What I want to do is leave a trail of tyre skidmarks.
Can anyone suggest a strategy on how to do th...
Hello all,
I seem to be having some problems with getting my image to completely cover the navigationbar( navigationItem.titleview).
I already tried some things.
I just want to have my image completely over the navigationItem.TitleView;
I tried to make a CGRect and initialize my UIImage in it but to no avail.
i figured this would ...
I am using a custom subclass of UIImageView, but I can't figure out why it's not being displayed.
The relevant code from my UIImageView subclass:
-(id) initWithImage:(UIImage*)image{
if(self = [super initWithImage:image]){
}
return self;
}
And from the view controller for the view that will be displaying my subclass:
UII...
Hi, I am trying to drag a UIImageView around the iphone screen in my app.
Currently The drag functionality I have set up is fine and dragging the image does move it around the screen, the trouble is that you don't have to drag the image view to move it, you can also drag anywhere on the screen and it will move the image.
I am new to t...