iphone

Can't touch UITextField on UIScrollView

Hey guys, I know this has been talked about a lot. I think I've gone thru every question on this site, and still have not been able to get this working. I'm new to developing but I have a good sense of what's going on with all of my code. I definitely don't have a lot of experience though, this is my first iPhone app. I'm making a...

Developing iPhone app to Run on iPad - Auto Set 2x

Is there a way to programmatically set the iPad to run the iPhone app at 2x as it is launched (yet keep the iPhone app native). I understand I can create NIB files for each hardware platform, but for ease, I just would rather the app launch as if the user had tapped the 2x on the iPad. Thanks...R.J. ...

Problem with sqlite query when using the wrapper

- (IBAction)EnterButtonPressed:(id)sender { Sqlite *sqlite = [[Sqlite alloc] init]; NSArray *paths =NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,NSUserDomainMask, YES); NSString *documentsDirectory = [paths objectAtIndex:0]; NSString *writableDBPath = [documentsDirectory stringByAppendingPathComponent:@"test.sqlit...

iPhone OS 4: New API

hi all, Apple announces the iPhone OS 4 with 1500 new API and some greater improvement I want to know the details the APIs. Features which are not being highlighted in press releases but might be very useful for Developer like Calendar, SMS, Photo library, Quick look etc Please provide a helpful link which provide the List of APIs ...

save the song in iphone through application

I have completed the code to play song using url connection.. now how can i save it in iphone. thnx ...

Alternatives to GameKIt for iPhone to iPhone transfer

I am needing to transfer information as an NSData object from one iPhone to another inside an application and was originally planning on using Bluetooth/GameKit, but the data looks like it will be in the neighborhood of 500KB -> 1MB in size. I don't think this is going to fly with GameKit (Bluetooth) as it will take forever and it seems...

Best Practices for persisting iPod Playlist (MPMediaItemCollection) across sessions

When using in-app audio in the iPhone SDK, it is possible to allow users to select a list from their ipod library and create an in-app local playlist. If I want to persist this choice, it is easy to serialize the data and write to file, then recover. Just vanilla like this, however, leads me to think there is going to be something wron...

iphone add view from left

When calling subview, how can I add animations something like facebook? I'm having following code [self.firstView removeFromSuperview]; [self.view addSubview:secondView]; I want first view to be removed slowly towards left and second view to be added slowly from right. So that it will visualize scroll view kind of operation. ...

Sending alert message if user not logged in ?

IN my application i use MFMailComposeViewController class to send mail and i know in the case of sending mail through ipod is sucessfully when one account is already open in that but in my application I want to a message which alert the application to open ur account....... ...

@selector and return value

The idea it's very easy, i have an http download class, this class must support the http authentication but it's basically a background thread so i would like to avoid to prompt directly to the screen, i would like to use a delegate method to require from outside of the class, like a viewController. But i don't know if is possible or if...

Interface Builder

What is the difference between creating an IPhone application using Interface Builder and without it? ...

iPhone + Provisioning Profile + app-info.plist + entitlements.plist = iPhoneApp ? How ? What exactly does entitlemets.plist do ?

To execute my application in iPhone first of all I have to add provisioning profile in to my iPhone. Good. But I don't understand the reason behind adding a entitlements.plist in iphone application in xCode under resources. What does that entitlements.plist file do actually ? Why that .plist file have only single Boolean in it ? (get-t...

remove ViewController from memory

hello everyone I hope to load an ViewController and do something then unload (viewDidUnload) it from memory. if (self.vViewController5.view.superview==nil) { ViewController5 *blueController = [[ViewController5 alloc] initWithNibName:@"View5" bundle:nil]; self.vViewController5 = blueController; [self.vViewController5 setDe...

How can I make the keyboard disappear after entering the text ?

I have two text fields in my view. I did it using IB. My problems are After entering the text in textField1 I am entering text in textField2. When I click in textField1 again the previous text is disappeared in the textField1. After entering the text in both the textFields, I need the keyboard to disappear. But, even I touched th...

iphone to ipad porting

i have iphone project based on tabbar template . want to convert it to ipad, final output i want is to move tabbar inside a splitviewcontroller . How to go about? ...

How i calling UITableViewController in UITabBarController screen using Navigation bar on button click in iphone?

Hi, My i have to develop simple window based iphone application. In my first screen I design the UITabBarController with four TabBarButton.On first Tab screen contains three buttons. When i click on of the button, the screen should navigate on simple tableView screen.But tableView screen the TabBarController should have be visible. Means...

game programming iphone osx android 1.6 shared codebase

im planning to develop a game for iphone and android. what programming language can i use to create a shared codebase between the two platform. i understand that there are some parts which are device specific. ...

Prevent access of documents directory in organizer of iphone application

Hi all, From organizer window i can copy document directory data. But in some apps i noticed that it is locked and cant access documents directory.How can i lock the application from accessing documents directory via organizer. ...

OpenGL ES displaying HUD display has no color on top of textured 3D objects

Im a beginner on iphone OS development. I followed jeff's tutorial here about hud display in iphone OS http://iphonedevelopment.blogspot.com/2010/02/drawing-hud-display-in-opengl-es.html The sample works on the accompanying project with the isocahedron as the background of the HUD and the is working as expected with colors and the text....

Add views to "more" tab item

Is it possible to change appearence of "more" item in TabBarController? For example can I add custom views and change layout of tableView containing "more" controllers list? ...