Making images appear... How?
Hi all, Could someone please tell me how to make an image appear when the user taps the screen and make it appear at the position of the tap. Thanks in advance, Tate ...
Hi all, Could someone please tell me how to make an image appear when the user taps the screen and make it appear at the position of the tap. Thanks in advance, Tate ...
I tried storing some CCSprites in a NSMutableArray, but the game crashed immediately, I'm guessing it's a memory problem, and I'm also guessing that CCSprites are autorelease objects? So, how would I store multiple CCSprites in a NSMutableArray? The purpose I wanna do this is store for example all enemies in an array, and then loop thr...
I was curious to know if there is some way to determine the orientation of a screen on iPhone/iPad. Currently I find myself setting a member variable when this message is called: - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { self.orientation = interfaceOrientation; return YES; } ...
Is it possible to position a view defined in a XIB as a subview in yet another view in that same XIB file? Alternatively, is there a way the "subview" can be defined in another XIB file and positioned in the first view in a different XIB? I've figured out how to do this for UIViewControllers but not for UIViews. Has anyone figured out ...
I want to fade the whole screen (including navigation bar) to black when a user presses a button on a uinavigationcontroler, before showing a new view. (i don't want to push this new view, for various reasons). How would I achieve this? EDIT Thanks to Mac and Eiko, I have figured it out. Here's the code I used. Not sure if it is opti...
OK, knowledgeable programmer-types, please be gentle... I'm having trouble getting a very simple, one-view "Hello World" app to rotate automatically. I go through the usual "Hello World" steps: Create a new View-based project. Double-click on the .xib file for the ViewController. Add a item from the Library. I've tried a Label as wel...
Possible Duplicate: Making images appear How? Hi all, Could someone please tell me how to make an image appear when the user taps the screen and make it appear at the position of the tap. Thanks in advance, Tate ...
How can I use [self dismissModalViewControllerAnimated:true]; to slide one view down while a new view slides up. It would have to be some code like (which seems like it would do what I want, but it doesn't): [self dismissModalViewControllerAnimated:true]; ViewController1 *controller = [[ViewController1 alloc] initWithNibName: @"ViewCont...
Hi, I have built a photo app for the iphone which has albums of high resolution images that the user can flick through. It's based on Three20 and the TTThumbsViewController. The images are currently mostly 2048x2048 or thereabouts but this seems too large given the screen is only 1024x768. Is there any value in leaving them at the ...
Hello, me and my friend develop iPad application (a lot of CoreGraphics stuff). But we can't find an agreement. I tell him that testing on device is essential, he tells me that testing on iPhone 3G/3GS will be enough (I have both devices). Can you tell me, probably we really can test our app on 3GS? The main thing is that interface will...
as above.. for your info, i'm using the sqlite any kind soul? ...
For instance I have created a view with 50 sequential buttons named btn1-btn50. If I want to address these buttons and make some changes to them in a loop how can I address the controls with a string name? ...
Hello all. I have a Core Data store in which many of the entities should be unique instances of their particular NSEntityDescription. I'm currently doing this by creating a new entity for a given description, then this: -(void)clearMyManagedObjectsExceptFor:(NSManagedObject*)except { NSArray *managedObjects = [ self fetchMyManagedO...
Hi all. I have a Core Data store which contains a number of MediaItem entities that describe, well, media items. I also have NewsItems, which have one-to-many relationships to a number of MediaItems. So far so good. However, I also have PlayerItems and GalleryItems which also have one-to-many relationships to MediaItems. So MediaItems a...
I would like to add WebDAV to my iPhone application. What is the best way / library to enable this? ...
I want to have a UIView inside of a NavigationController that has 4 buttons. Clicking on any of these 4 buttons will push a UITabBarController that contains a NavigationController with a respective UIView. Is this possible? Tweetie seems to do something similar. ...
What is the difference between UITabBar and UITabBarController? When is it more beneficial to use one over the other? ...
My application is for "iPhone ONLY", But I have made a mistake in the first place by not setting the application for specific device. The current setting now is: Requirement: Compatible for iPhone, iPod touch and iPad. I would like to set it to: Requirement: Compatible for iPhone. I have go to some tutorial and forum. and nothing can...
I have a UIView that is pushing a UITableViewController that is contained inside of a UITabBarController. #import <UIKit/UIKit.h> @interface ARViewController : UITableViewController<UITabBarControllerDelegate> { IBOutlet UITabBarController* tabBarController; } @property(nonatomic,retain)IBOutlet UITabBarController* tabBar...
Is it possible to automatically generate a More button with a UITabBar when there are more than 5 on screen? UITabBarController can do this, but I would like to use the UITabBar. ...