iphone

Is the "X" delete button on the homescreen part of the SDK?

So when you want to delete an app from the Home Screen, or delete a book from iBooks, when you get into "Edit Mode" there is a little itty bitty X in the upper left hand corner of the app icon/book/whatever. Is this button part of the SDK? And... if not (I'm pretty sure it isn't), does anybody know an Apple sample project that might c...

Javascript: fake a touchdown event?

If I have a x,y coordinate onscreen is there a way to 'fake' a touchdown event? ...

add iPhone functionality to iPad app

I have been developing an iPad app. I now want to make it work on the iPhone also. What do I do in Xcode so it can work both ways? (I am not concerned about adapting to the smaller screen -- that part I can figure out. But how do I get it to start up on the iPhone?) ...

How do I make an exact copy of a UIImage returned from a UIImagePickerController?

I have divergent needs for the image returned from the iPhone camera. My app scales the image down for upload and display and, recently, I added the ability to save the image to the Photos app. At first I was assigning the returned value to two separate variables, but it turned out that they were sharing the same object, so I was gettin...

XCode Organizer: Archived application icon missing?

If I choose "build and archive" from XCode, the Organizer is launched and I can see a list of my archived applications. I have 4 different applications (with several archives each), but the icon that's displayed in Organizer for one of the apps is missing -- there is a question mark icon instead. The app does have an associated icon and ...

Adding Core Data in Universal app?

I'm trying to add Core Data to an app that loads news form of an RSS feed so I can store articles offline. I am using ASIHTTP to load the data off of the internet as XML. I'd like to store the articles in Core Data so I have them the next time I start. My AppDelegate_shared already is set up for Core Data, based on the template, but I'...

Received memory warning in modal view -- parent view controller's objects get released. How to prevent?

My root view controller is a map with several annotations. When an annotation is selected and the accessory button is tapped, I display a modal view that looks like so: http://i.imgur.com/hACyH.png In this modal view, you can get a street view look at the annotations coordinate (I do this using a UIWebview). You can also submit a phot...

Apple push notification service - no notification on device

enter code hereHi guys, this problem is driving me crazy. I'm implementing APNS. I already google and followed several tutorials. I implemented the server an it seems to work find here is the code: <?php $deviceToken = 'XXXX'; // Passphrase for the private key (ck.pem file) // $pass = ''; // Get the parameters from http g...

iPhone SDK: iTunes Artwork Not Showing

My problem is that I don't see a icon when I look for my app in iTunes. I am not sure why? I am creating IPA files. I include an image called iTunesArtwork.png. Any help appreciated. This is what i am seeing in iTunes. Notice no image for iCreditCard. Why can't I see my icon? (See iCreditCard app with empty image) This is the content...

How do I rename a project in Xcode?

i have a finished application written with objective c and I would like to rename the file. how do i do that? ...

Is there a way to instantiate a NSManagedObject without inserting it ?

This is an iPhone dev question about CoreData. I have a user interface to insert a Transaction. once the user clicks on a plus he gets the screen and i want to instantiate my Core Data NSManagedObject entity let the user work on it. Then when the user clicks on the Save button i will call the save function. so down to code: transa...

UUID is unique? iphone

Can i save an UUID in an external database in order to check if the user posts his message only one time from his iphone? I have searched and i have found that there is no way to save a NSString value after the app has been deleted. Am i right? ...

Question about iphone app, unique identify the user on external database

Hi everyone what i am trying to do is the following: i have an app that gives the ability to the user to post a message to an external database. This ability i want to be available only one time. The second time, the user wont be able to post a message. I want to find a way to achieve this even if the app has been removed from the iphone...

Progress Counter in Cocos2D

Hello, I need a counter that updates a CCLabel every second. I want it so the user can see how long they survived. I'm not totally sure how to explain this so let me know if I can make things clearer. ...

IPhone: Uploading a new version of an app - is there an approval process?

Hi, When I upload a new version of my app to appstore does it go through the same approval process as the first time I uploaded the app? ...

iphone - UIColor leaking... need to release the object?

I have a bunch of lines like this on my app UIColor *myColor = [UIColor colorWithRed:corR green:corG blue:corB alpha:1.0]; Instruments are saying these lines are leaking. As this is not formally, as far as I see, an alloc operation (isn't it?) I don't saw the need to release the object, but as instruments are complaining, I added seve...

How can I have UITableViewCells with rounded corners?

My app has a ManagedObject that has different types of fields So, I want it for the user to edit each one and also have it display different info for each. If you look at the Calendar app, when you Add an Event, you'll notice Title/Location in one cell, Starts/Ends in another, Repeat... so on. So... in Interface Builder I have all my U...

IPhone: Why does my app resume and not restart when I relaunch it on device?

I don't know if this is an iOS4 thing or something, but basically say I have a few screens in my app. Now, when I hit the home button and relaunch my app it launches the app on the screen where I left off. It's almost like it's not restarting my app, but resumes it. I don't want it to do that. (I'd like it to show my splash screen main m...

What is a good book for learning Core Animation?

I want to learn how to use core-animation for the iPhone in a more serious manner; instead of just ripping other people's code to move a box a few pixels, I want to be able to write that code myself, and engage in translation, transformation, and other things with an understanding of the code I'm using to achieve it. Unfortunately, the ...

UIImageView Changing Issue IPhone Issue

Hi, I am trying to make a button in my IPhone app which changes an existing image (simple, I know! but I've spent 2 days on this :) I have a button: - (IBAction)myButton { myUIImageView.image = [UIImage imageNamed:@"image.jpg"]; NSLog(@"my button"); } I am attempting to find out why the button is not doing anything. "my b...