iphone-sdk-3.0

How to change the width of UINavigationItem::leftBarButtonItem ?

Hi, is it possible to change the width of the leftBarButtonItem of the class UINavigationItem? The default width is actually to short for my strings and I would like to enlarge the item as I have no title. Best, heinrich ...

how to detect body in image in objective-c?

is there a way we can detect a person's body in the image and cut the only body part of the image. ...

Entity not properly updating

Hello guys, I have a CoreData based iPhone application, which is shipped with some basic data which are updated from the Internet. My problem is that the changes I make in the values of the Entity are not populated in the table view. This is my updating procedure: NSFetchRequest *request = [[NSFetchRequest alloc] init]; NSEntityDescrip...

is it possible in iphone-Reopen Native app after opening and closing map application or any other apple's app?

i want to create something like this. open map application(means maps) then when maps closed reopen my application.also tell me if it is possible will it be possible in iphone OS 2.0. i know about weak linking of frameworks as apple did in mail composer sample. ...

App crashes after launching on OS 3.1

Hi folks! I need help to understand the crash log i received from the client. The app works fine on my phone but it crashes with him. I have OS 3.0 installed here while my client has upgraded to OS 3.1. Client reported app crashes usually when he starts the app. Why I am getting EXC_CRASH (SIGABRT)? Can anybody point me in the right d...

how to show countdown on uilabel in iphone?

i have a uilabel and a uislider on a view. i want to set label's time using slider.range of slider is 00:00:00 to 03:00:00. means 3 hours.and intervel on slider is 0.5 minutes.also how to show.i want the timer runs even if application is closed. ...

how do i record and play a video in my native iphone app?

i have a view in which i want to play a video if user recorded or show photo taken from camera in a custom size screen.any help appreciated. ...

UITableView insertRowsAtIndexPaths: is not updating the table when called from NSFetechedResultsController didChangeObject:

Good Morning, Im hoping someone can help me with an issue im having with updating a tableview via the insertRowsAtIndexPaths: method. I am calling a resource on the internet and creating entities based on the data i receive, for each entity I create and populate, I immediately save the entity to the managed object context. I can see e...

How can I cause the phone app to start without initiating a call?

I'm able to initiate a call to a specific phone # via the logic below: NSString* url = [[NSString alloc] initWithFormat:@"tel:%@", (telephoneNumber == nil) ? @"" : telephoneNumber]; if ([[UIApplication sharedApplication] canOpenURL: [NSURL URLWithString:url]]) { [[UIApplication sharedApplication] openURL: [NSURL URLWithString:url]]; }...

How to Add Core Data to an existing Utility Application

Hi, I´ve created an utility Application which is nearly complete, but now I´m on a point were I really have to persist Data. Since XCode provides only Core Data Templates in an Navigation or Window Based App, is there an easy way to add Core Data to my Application? I´ve never worked with Core Data and just have to persist messages with ...

[iPhone]draw the circle around a location on google map

hi All Guy, I'm new member of iPhone programming. i want to write app with CoreLocation and Mapkit API. I found and added pin to current location. So far, i want to draw the circle around my location, but i didn't do that. I'm waiting the helping from all of you. Thanks a lot! SinhNguyen ...

Designing iPhone application with Photoshop or any design tools

Hi all, I need to know how to design new (different) user interface for iphone with photohsop or like that tools. I have already checked photshop design mockups for iphone over the internet, but i'm sure, i don't need that, these example psd files shows original iphone design elements. I'm just looking to how to design new user inter...

Missing frameworks after upgrading to Xcode 3.2

I upgraded to Xcode 3.2 and now can't seem to add a number of frameworks, specifically the media player. A number of frameworks do not show up on the "Add Existing Frameworks Sheet". Per another question I tried setting the "Framework Search Path" to $(SDKROOT)/Library/System/Frameworks but that didn't seem to make any difference. ...

XIB Compiler Error

Getting a "Pattern colors are not supported by the iPhone SDK for iPhone OS versions prior to 3.0." error from Xcode when compiling an application for iPhone OS 2.2.1. I'm using Xcode 3.2 on Snow Leopard. The interesting thing is that others (I don't know host OS or Xcode version) are compiling this code fine. ...

iPhone SDK: speed vs mem footprint

In my app delegate I have a variable which various controllers use (thank to the news group advise on how to access such variable from controllers). Each controller may need to access it more then once. I use this code: ((MyAppDelegate *) [UIApplication sharedApplication].delegate).soundEffects Ignoring readably issue (as noneone oth...

How to prepare for the iPhone development?

Hi there, I am going to develop on iPhone platform. Can some one make an explanation about how to do this? Here is some of my question? If I want to publish my iPhone software (totally free, and will be free forever), do I have to register apple developer with $99? If I don't pay for apple, where else can I get detail development info...

iPhone SDK on PowerPC?

Hi All, Can any one tell me that does iPhone SDK 3.0 or 3.1 support Power PC machines having Leopard 10.5 or above. If not then what's the solution for the same. As i am having a Mac with Power PC on it and panther. First of all I will upgrade it to Leopard by purchasing the Installable and then install iPhone SDK. Will this work ? Ple...

Top margin on UITableViewController

I have a TabBarController, one of the tabs of which contains a sub view which is a navigationController. I am then loading into the navigation controller a view which inherits form UITableViewController. My problem is thta for some reason the table view starts behing the navigation controller, not the top of the screen but about half wa...

Continous integration for iphone xcode

Hi, I would like to implement continous integration on an iphone. I've read that I can use HUDSON, and would like an opinion if this this the best option. http://stackoverflow.com/questions/212999/continuous-integration-for-xcode-projects The cruise control option also looks interesting. http://blog.jeffreyfredrick.com/2008/11/27/con...

Getting all value from NSDictionary (deeply)

Hello, I have a dictionary like this : <dict> <key>ThemeName</key> <string>Theme1</string> <key>AddToFavoritesButton</key> <dict> <key>DownImage</key> <string>heart_selected.png</string> <key>UpImage</key> <string>heart.png</string> </dict> <dict> How to iterate all keys and getting all values in an array ? ...