xcode

iOS 4.0 and 3.0 on one mac

Hi, I have just submit my app to the App store, and received many comments that the application crashes on startup on older iphones. The deployment target was set to 3.1.3 and base sdk to 4.0. I thought I didn't use any api from 4.0 so the only problem could be three20 library. Now I have two xcodes installed on my computer. After some...

tableView.tableHeaderView being set but not drawn.

Hi, whenever I set my tableHeaderView I'm not seeing it in the Simulator. If I add it as a subview, it ends up getting drawn underneath the section header. Any idea what I'm missing here? I do have a XIB file. I didn't see any properties in IB to affect headerViews though. - (void)viewDidLoad { [super viewDidLoad]; MyTitleView *titl...

Does any one know how to call iphone calendar controls in my application?

Does any one know how to call iphone calendar controls in my application? sample code will be helpful for me waiting for a quick reply...... ...

Launching navigation controller in landscape?

I'm trying to make a landscape app that uses navigation controller, but I can't get the app to launch in lanscape mode. Once I'm in another view and I use [self.navigation popToRootViewControllerAnimated:YES]; then the root view is in landscape. Why isn't it in landscape from the launch of the app. I've already put it in landscape mod...

NSMutableArray stored with core data = WORKS, but after changing array DOESN'T WORK

Hello, I have a NSManagedObject with a NSMutableArray as attribute: @interface MyObject : NSManagedObject { } @property (nonatomic, retain) id a1; In the data model it is declared as Transformable. I left the Value Transformer field like it is with the default (in light grey) NSKeyedUnarchiveFromData. a1 is created as part of th...

Where is the Xcode build results file ?

The Xcode "Build Results" tab shows the build log. Does anyone know where the actual log file (path in filesystem) is ? ...

Activity indicator view

How does the activity indicator view work? Can you just drag and drop this on a screen? ...

Adding system header search path to Xcode

(Posting this question for reference purpose, I'll answer immediately) How to header search paths to Xcode? Especially using include it this syntax: include <myheader.h> Adding path globally to all projects like system headers. Adding path to only to a specific project. ...

Can't access .mp4 files in resource folder iphone xcode

I have a file called fireFinalRotate.mp4, it's in the XCode project folder (both in XCode and in finder). For some reason NSString *path = [[NSBundle mainBundle] pathForResource:@"fireFinalRotate" ofType:@".mp4"]; returns a nil. Any thought? I'm baffled. Is it because it's a movie file? That code's in viewDidLoad. ...

How to allow only iPhone 4 to use app since it uses front camera

Hello I was wondering how to only let iPhone 4 use my app which uses the front camera. Can I do a + (BOOL)isCameraDeviceAvailable:(UIImagePickerControllerCameraDevice) and how do I implement it so that it gives some sort of error if it returns no or do I have to a NSString *DeviceType etc.. if iPhone 4 ... do nothing if else ... ...

"Header Search Paths" vs. "User Header Search Paths" in XCode?

What's the difference? When would you use either? ...

How to change font color of individual characters in a UIPickerView row?

I have an app which shows text in a UIPickerView based on a search. I want to highlight specific letters in the string that are there as a result of a wildcard character. For example, if I searched for "CA?", one of the rows will show "CAT" and I want only the letter "T" to be in the color blue. Any ideas? The user gets immediate fee...

iphone Landscape Orientation?

My app launches in landscape mode, however everything I have set up in Interface Builder shows up sideways on the screen as if it's in portrait mode. It's definitely not in portrait mode though. I dont understand why the app launches in landscape mode, but everything comes up as if it's in portrait mode...any ideas? ...

Mac XCode Collect Usage Statistics

Hello, Is there any framework or way that I can have my mac application report back usage statistics to me? It is programmed in xcode objective c. Thanks! Christian Stewart ...

Code signing error in submitting application on app store

Code signing error in submitting application on app store i have tried all possbile ways including making entailments.plist choosing Distribution profile but unable to submit application can any one tell me why? i have submit tones of application with this process before but this time i m facing trouble dont know why:-( her...

Stream video from one iphone to another and back

Hi, I want to develop an conference application. It's basically exact the same as Facetime only with some extra features. But how do I make a video chat from one iPhone to another iPhone LIVE like Facetime? Any ideas? Thanks in advance! ...

"Cannot find interface declaration error..." after @class

Hey all, I've run into an Objective-C problem that doesn't seem to make any sense to me. I am a relatively well-versed ObjC programmer and understand the whole "forward declaration" concept, but this one has me scratching my head. So here's the deal: ClassA is a class in my Xcode project that is project-only. ClassB is a subclass of ...

iPhone wizard style navigation with a

Hello all, I am working on an iPhone app that uses a navigation controller, so it has a navigation bar at the top and a toolbar at the bottom. I would like to swap views in and out of the center area of the app -- the area in the center that the docs refer to as the "navigation view". How do I get the frame of that area, and how would...

How to get Soundfilenames from an NSArray and play?

Hello, I want to play several audiofiles (*.wav) by touching the appropriate UImageViews. Each touching an UIImageView changes an "triggernumber" - wich view is selected. The audiofile names are stored in an array. But I can't figure out how to write a method to get the names and play the right sounds without using a select case method w...

Xcode warning: "May not respond to"

I have a few methods for initialization of different stuff in my class implementation. However, when I invoke these methods by using [self 'methodName'], the Xcode compiler gives me a warning that I could not get rid of. 'className' may not respond to 'methodName' For example, warning: 'NextJackpotViewController' may not respond to -...