iphone

iPhone app rejected upon section 3.3.3 (but what does it mean?)

I made an iPhone application that displays a couple of pictures from the internet where you can comment on (iPhone sms bubble style ) My app was rejected because of: We cannot post this version of your iPhone application to the App Store because it violates section 3.3.3 of the iPhone SDK Agreement; "Without Apple's p...

Checking if a UIViewController is about to get Popped from a navigation stack?

Hey guys, I need to know when my view controller is about to get popped from a nav stack so I can perform an action. I can't use -viewWillDisappear, because that gets called when the view controller is moved off screen for ANY reason (like a new view controller being popped on top). I specifically need to know when the controller is a...

iPhone SDK: Uploading pictures to TwitPic.com

Is there any way I can upload a selected image to TwitPic.com and get the images page URL? Here is the API page for TwitPic.com: http://twitpic.com/api.do ...

Is there a quick way to check current iPhone App Store rankings?

I'm tired of browsing through the App Store checking my rankings in different categories, and counting the pages to calculate my app's rank. I saw that sites like apptism.com show the "popular rank" of each app, although they only seem to update it once a day. How do they get this data? ...

Reading and writing images to an SQLite DB for iPhone use

Hi All, I'm still new to iPhone Dev so be gentle. I've set up a SQLite DB that currently reads and writes NSStrings perfectly. The only problem I have now is that I also want to store an image in the database and recall it later. I've read up a bit on using NSData and encoding the image but I'm not entirely sure what the syntax is for ...

iPhone Development on Hackintosh

My question is in regards to developing code for the iPhone / iTouch. What with Apple's transition to the Intel platform for their chip, it is obviously now possible to run their OS on a PC. So, with that, and my inherently cheap nature, I was wondering if it was possible to bypass the purchase of a refurbished Mac by running the iPhon...

Is this causing EXC_BAD_ACCESS?

I'm getting a EXC_BAD _ACCESS after leaving the method below. At that point htmlDocument becomes invalid, which it should since it falls out of scope. But is that why I'm getting the error? By the time the contentView (UIWebView) loads, htmlDocument is gone. But doesn't contentView already have what it needs from loadHTMLString? - (...

Are extra files in my project compiled into my program?

Lets say I have a bunch of PSD's and other large files that arent being used in my xCode project... Do those get added to the app when I compile? Do I need to store those somewhere else? ...

Force UIView/UIVIewController orientation

We're writing an application that's in landscape mode exclusively. We use a transform on a root view to rotate it to LandscapeRight, then every view that gets loaded by that view shares the coordinate system. That's all fine and dandy, except one of our views has a UIWebView object that's being loaded by a view controller. The site that ...

How can I access _tabBar instance from UITabBarController

I am trying to access the _tabBar instance from a UITabBarController. I am trying to hide the tabBar in certain situations, for this, I added an extension to UITabBarController, where I can access the _tabBar instance, and call the setHidden message. This works when compiling for the simulator, but when I compile for the device, I get th...

Transitioning UINavigationBar colors?

Hello. I'm basically trying to duplicate the behavior of the iPod app on the iPhone, where when you select a song, the music player view slides in, and the navigation bar transitions to a new color. My app is set up as a tabbed based application, with UITabBarController and a nested UINavigationController in each tab. Inside each UINav...

How to use custom delegates in Objective-C

I need to know about the usage of delegate methods in objective c... Can anyone point me to the correct source... ...

What is accessible using an Apple ID ?

If get an Apple ID, what can I access? Can I download example games, access the necessary developer information, or any other help with the Objective-C language such as tutorials? ...

Sharing an sqlite database between iPhone apps

Is this possible? Can I copy a database to the user's home directory and then access it with more than a single program? I'm guessing the answer is 'no', as it would make copy and paste pretty trivial, but I thought I'd ask. ...

How to define a function that returns an NSString in Objective-C / Iphone SDK

Hmm i would have thought this would be a little more straightforward.. in my .h file, i'm trying the following #import <UIKit/UIKit.h> @interface myViewController : UIViewController { } - (int)doStuff; - (NSString)doMoreStuff; @end the compiler flags my doMoreStuff but allows doStuff.. any clues? thanks in advance ...

Best way to implement tap anywhere to cancel (a la App Store download button)?

I have a UI element. When I tap it, it animates to an intermediary state. A tap anywhere else on the screen should cancel the interaction, while another tap on the UI element should proceed. I've implemented this using a guard view (subview of window & above every other subview) and then reparenting the element into the guard view befor...

Have any Professional course (certification program) for iPhone developer?

Have any Professional course (certification program) for iPhone developer? Like MCAD for Microsoft .NET developer and Zend for PHP developer. ...

Is it possible to use pickerview in cocos2d ?

Duplicate: How can i use picker view in iphone application using cocos2d ? Is it possible to use pickerview in iphone application using cocos2d ? If possible then can i do that in my application.Where i can get this information.If not then what are the other solution for doing this in pickerview. ...

When to use self?

I have an iPhone app where one view, View A, updates another view in a tab bar, View B, using: // This works. - (void) reloadData { MyDB * db = _GET_DB_CLASS; if(data != nil) // data is a property of type NSMutableArray [data release]; NSMutableArray * d = [db getDataQuery]; data = s; // Don't release since we a...

How do I detect if a mouse / finger is moving along a certain path ?

I'm developing an application for iPhone, and I want to detect when the user is moving his finger along a certain path. Specifically, I want to detect when the user moves their finger along a specific circular path. This would probably be easily adapted from detecting mouse motion along a path. ...