iphone

How to edit messed up version string when updating application in iTunes Connect

I'm trying to create an update for an existing iPhone application with iTunes Connect under "Manage Applications." Unfortunately, I fat-fingered the new version string for the update and cannot correct my mistake. Does anyone have any insight about 1) fixing the version string, and 2) deleting the update to start over? Thanks! ...

Targeting multiple platforms in iPhone SDK 4

I have an iPhone SDK project that is supposed to build a static library for both the simulator and the ARM processor and then combine the two into a universal library. Heretofore, I was using iPhone SDK 3+ and accomplished this by creating a separate target for each, one simulator and one ARM, and then making a third target that combine...

Inserting row to end of table with UITableViewRowAnimationBottom doesn't animate.

I have a quick, probably basic question regarding UITableView in iOS. I'm trying to insert a row at the end of my table. It works with every animation except UITableViewRowAnimationBottom. If I specify this particular animation, the cell appears at the end of the table, rather than animating. My code is essentially as follows: - (void)...

post mov (video) on facebook by iphone

hi i trying to posting .mov file or video file on face book; i don't know how it's work; i don't have any kind of example; if there is an example's or app then sand me; ...

What are the storage limits for iPod/iPad applications?

I'm not talking about binary size. I'm talking about the amount of data that can be written to disk during execution inside of certain directories such as Cache or Documents. I can't find an easy answer in the XCode documentation, which is to say I can find none at all. I know there is a limit for the cache directory in the form of "oh...

How do I read and write to plist files in objective-c? (iPhone SDK)

I'm having problems reading and writing to a plist file. I can read the data OK, but I cant write it.. also, I think I have a memory management issues relating to this. Here's my code: +(NSString *) getSettingString: (NSString *)key { NSString *path = [[NSBundle mainBundle] bundlePath]; NSString *finalPath = [path stringByAppendingPat...

Can I put my own app on just my iphone?

I want to create an iphone app for personal use. Can I just put it on my phone and use it or do I have to go through the iphone store process to get it on my phone? Thanks. ...

[iPhone] How to get resources path?

Hey guys I run my app on Simulator in XCode and it works fine but when I try to run it on the device it doesn't work. I figured out that it doesn't open some files. (I don't know if it gets wrong path or maybe the files aren't copied) Before I open my files I get their path like that: const char* Pobierz_sciezke(const char *tytul_c) ...

Live camera data access In iOS 4

Prior to the release of the new SDK there has been some buzz about Apple finally providing access to live camera data: I've been reading through Apple's documentation but have not found any reference to this. Now that the NDA has been lifted, does anyone know where this new functionality is documented? ...

Xcode's Build and Archive not working.

The current issue I'm having is that Build and Archive will build my current target but after it's finished building, a pop-up will appear with the message: "The operation couldn't be completed. No such file or directory" I have reinstalled Xcode (3.2.3 with SDK 4.0), rebooted my machine, cleaned the cache, cleaned the project, man...

Display appears ghostly, but works on first touch

I have made a UIView which contains a table and some buttons. This view is called by a UIViewController which is called by a tab-bar controller. There is no IB involved. When the view comes up it only has the outlines of the objects. e.g. the following button comes out without its label: brect = CGRectMake(80, 330, 60, 27); centern=CGP...

How to Create UIImage from NSData and Avatar Data of XMPP?

Hi, This question is related to Iphone SDK, NSData and UIImage. I am trying to create an image from the Avatar Data returned from the xmpp like the following: <presence from='[email protected]/spark' to='[email protected]/424978324712783686768453' id='Oj02v-45'><status>Away due to idle.</status><priority>0</priority><show>away</show><x...

Hide Input Keyboard on iPhone Without Knowing First Responder?

I have seen this question, but the question is how to know which textView is the first responder? This question looked promising to figure out the first responder, but it turns out that it calls private APIs. Is there any way to hide the keyboard or to figure out the first responder as the-one-who-has-the-keyboard? ...

iPhone app UI element

http://culturedcode.com/things/ do you guys know what UI element they used for their the top menu (home, car, phone...), the "A magical tag bar"? or is it a custom made UI? If so how do I make one that look like that? ...

How to properly invalidate an NSTimer

I've got an iPhone app with an NSTimer called pressTimer that goes off every time someone touches this button. The problem is they touch the button a lot, and I want the timer to stop when they lift up their finger. So I declared pressTimer in my .h and synthesized it in .m then assigned and started it on the TouchDown action I created. ...

Cocoa method to return a list of all letters in the current locale's alphabet?

I'm currently trying to implement a UITableView with a delegate and data source that replicates, as closely as possible, the functionality found the ABAddressBookUI framework's ABPeoplePickerNavigationController class, but with the added ability to select multiple contacts at once (as indicated by adding/removing an accessory view to the...

Why won't my layer animate about the Z axis?

I have an image which I place in a CALayer, then add that layer as a sublayer of the main view. When I try to animate it around its Z axis, all I see is a static image. Why won't my layer animate? The relevant code is as follows: - (void)viewDidLoad { UIImage *myImage = [UIImage imageWithContentsOfFile:[[NSBundle mainBundle] p...

Install xCode 3.2.3 w/ iPhone SDK 4, get "Base SDK missing", can't see other SDKs

I created this community wiki to bind together a number of other Q/A's I've seen here on SO. If you're here, you've probably installed the final version of Xcode 3.2.3 with iPhone SDK 4 (download link, reg reqd), and then encountered one or both of these problems: In your previously working xCode iPhone project, you get "Base SDK Missi...

Resign Cydia App to Install on Non-Jailbroken iPhone

I'm part of the apple developer program so I can code sign and install on my device. Is it possible to take an application from Cydia (it doesn't appear to use mobilesubstrate, it's packaged as a .deb) and re-sign it so I can install it on my non-jailbroken iPhone? Thanks! ...

iphone SDK 4 Grouped TableViewCell double border on top

Hi Guys, Perhaps it's very simple but I can't figure it out. I have a custom TableviewCell. I'm using iPhone SDK 4. I am creating just one row in table view (Grouped) but sadly that table view has double border on top and all other sides have normal single border. I must say that I noticed that when upgraded to Xcode 3.2.3 and iPhone S...