ios4

"_UIApplicationDidEnterBackgroundNotification", referenced from: Error while linking

I'm using the Three20 library in my app, I am seeing this error during linking of the app: "_UIApplicationDidEnterBackgroundNotification", referenced from: _UIApplicationDidEnterBackgroundNotification$non_lazy_ptr in libThree20UINavigator.a(TTBaseNavigator.o) (maybe you meant: _UIApplicationDidEnterBackgroundNotification$non_...

iOS 4 Alarm Clock App with Multitasking Support

I'm making an alarm clock app with multitasking support. However, I'm stuck with some limitations of the sdk. I need to play selected alarm sound whenever the alarm time comes with some properties set by the user. These properties: - Alarm sound can be a music from the user's iPod library, and also some sound files in application bun...

Trying to adding a UITableView into a view hierchary with it's own view controller

I have a view hierarchy that has a UIViewController as Files Owner in the XIB. I need to add a UITableView into the hierarchy that has it's own controller (a UITableViewController subclass) because I am implementing a pull-to-refresh UI using http://github.com/leah/PullToRefresh What I did: created the new UITableViewController subc...

SentTestCase doesn't highlight UnitTest failures as errors in code

I have setup UnitTests for some of the logic of my iphone app, I followed apple's guide for UnitTests in XCode, however when some of the assertions fail - instead of highlighting the place directly in code like a regular compilation error - XCode just displays the number of errors in the bottom-right corner and I have to look up the erro...

How to have icons for ipad and iphone ?

Hi I dont get it :) I have an Icon.pn that is currently 57x57, but when I compile I get a warning that it needs to be 72x72. If I make it 72x72 it complains that it needs to be 57x57. I do understand the problem but I do not know how to solve it, how can I tell xcode which icon is for which device ? Thanks ...

Line artifacts in mobile Safari

Safari renders black lines in between divs on my website at some scales. It is particularly bad when it breaks apart an image that is chopped in two different divs for a button or something. I can't put a BG in the parent of the two divs because they are transparent .pngs. Any solution or just deal with it? ...

Multitasking: What if an app locks up while in the background?

We're developing an app for the iPad, and while we do all we can to ensure it won't lock up/freeze at any point, there will always be the theoretical chance that this can still happen. If an app becomes unresponsive, and is in the background, you can close it manually - but not all users know about this functionality. I know this is a...

Getting the musical data of an iPod-track

How can I get the content (raw/sample data) of an iPod-track? I've seen apps like "Ringtone Designer" and iMovie which can do it, but I have no idea which api they use or what they do. I could imagine that iMovie uses private apis, but "Ringtone Designer" is a third-party app, so it must be possible with the public api-functions. ...

How can I set my Base SDK?

I want to be able to support iOS 3.x users. When I try to set the Base SDK in Project Info, the only SDK that appears is iOS 4.1 and iOS 3.2. How can I add additional SDK's so I can support older users when my app hits the App Store? ...

How to store CGRect and other things in core data

I'm having a few teething problems with coredata, but feel it would clear things up for me greatly if someone could explain some simple cases to me. I want to put my model into coredata, and at a most simple case take advantage of undo/redo. Thing is, all the examples I see tend to store either strings or integers. What if I have a clas...

Application Failed to Launch in Time

How can I diagnose this error? Application Specific Information: MyApp failed to launch in time Elapsed total CPU time (seconds): 4913.443 (user 3868.270, system 1045.173), 56% CPU Elapsed application CPU time (seconds): 0.010, 0% CPU Backtrace not available Unknown thread crashed with unknown flavor: 5, state_co...

How to use web request results (xml, plist, etc) as a datasource for UITableView

I want to use coldfusion web query results to populate a UITableView in iOS. The query results come back as a string and I guess I need to convert them to NSArray or NSDictionary... Thanks, Phill ...

How to check if a new contact is added to the address book?

Hey, I'm saving a copy of all contacts in a database. Upon launching, I want to check if there is a new contact in the address book in order to add it to my data base. How to perform this check? I can't find the suitable logic to implement it. ...

Radial gradient draw performance - Can OpenGL-ES improve?

I'm working on a image manipulation app that overlays a radial gradient over an image loaded from the photo library. On screen I have a slider to dynamically in/decrease the radius of the radial gradient. I've found the performance on the simulator to be just fine, but on an iPhone 3G or 3GS it is much slower to redraw when moving the s...

directoryContentsAtPath deprecated iOS 4

I am using directoryContentsAtPath: which is deprecated in iOS 4 what to use instead this?? Thanks ...

iPad/iPhone - NSString drawInRect not word wrapping

I'm using the following to render some text in a UIView. - (void) drawRect:(CGRect)rect { NSString* text = @"asdf asdf asdf asdf asdf asdf asdf"; CGContextRef context = UIGraphicsGetCurrentContext(); CGContextSetFillColorWithColor(context, [[UIColor clearColor] CGColor]); CGContextFillRect(context, rect); CGCon...

Do I need to declare a private variable for an IBOutlet* property?

Let's say I have a simple view controller with one UITableView property: @interface MyViewController : UIViewController { UITableView *tv; // <-- DO I NEED THIS?? } @property (nonatomic, retain) IBOutlet UITableView *tv; @end Do I actually need to declare the UITableView *tv ? I've found that even if I don't declare it (and simpl...

How can I allow users to give me feedback and submit bug reports for my iOS app?

Hello. I submitted my first free iPhone app to the app store and users are complaining about bugs I've never seen, nor can I reproduce. How do developers allow their users to send feedback, as well as collect bug/crash reports for their iOS apps after they've been deployed to the app store? Thanks so much in advance for your help! ...

Flex or flash interface components for developing IOS apps?

Hello, im developing apps for the IOS plattaform using flash CS5, but the interface components (like listbox, combobox, buttons and so) that comes with flash/flex are not optimiced for IOS developing. Is there outthere a free libary of components for interface on IOS??? Thanks! ...

How to use UITextView in UITableViewCell with variable height?

I am interested in creating a UITableViewCell with a UITextView inside of it, which adjusts its height (to a certain maximum) as the user types more or less text into the UITextView. I know how to add the UITextView to a custom UITableViewCell--but how might I change the UITableViewCell's height as the user is in the process of typing? I...