iphone

SIGABRT error when running on iPad

Hello, all. I've been banging my head for a few hours because of this problem. I have a universal project that's a mix of iPhone and iPad projects. I put these codebases together into the universal project and, after a lot of "#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 30200" checks, got the project to run in both the iPhone (OS 3.0 to 3.1....

how do i access GData api's(get map) in my application in iphone ?

how do i access GData api's(get map) in my application ? hey i tryed to add gdata.framework in my iphone application but it generate error and tell me in iphone how can i use this web service? ...

Problem in inserting segmented control to header view

Hi, I'm trying to add a UISegmentedControl in my tableview. I have two sections in my tableview and I want the segmented control to be placed in the 2nd section. In my implementation, I override viewForHeaderInSection as follows. - (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section { if (section ==...

Can't access annotation property of subclassed uibutton - editted

Below is my original question. I kept investigating and found out that the type of the button I allocate is of type UIButton instead of the subclassed type CustomButton. the capture below is the allocation of the button and connection to target. I break immediately after the allocation and check the button type (po rightButton at the d...

Extract attributes from NSManagedObject array.

NSFetchRequest *req = [NSFetchRequest init]; NSEntityDescription *descr = [NSEntityDescription entityForName:@"City" inManagedObjectContext:context]; [req setEntity:descr]; NSSortDescriptor *sort = [[NSSortDescriptor alloc] initWithKey:@"streetName" ascending:YES]; [req setSortDescriptors:[NSArray arrayWithObject:sort]]; [sort release]...

CSS3 Font Embedding doesn't work at Iphone OS3.0 safari ?

Hello, I tried to embed font at web pages. I can see the font rendering properly at latest non-IE browsers, but when I tried with Iphone Safari Browser, it doesn't render. I want to know whether Iphone Safari supports font embedding. Thanks. ...

Please help with iPhone Memory & Images, memory usage crashing app

I have an issue with memory usage relating to images and I've searched the docs and watched the videos from cs193p and the iphone dev site on memory mgmt and performance. I've searched online and posted on forums, but I still can't figure it out. The app uses core data and simply lets the user associate text with a picture and stores t...

Create an UIButton with "push button" appearance?

I want to create a button with the same look and feel as the "Timer" function in the builtin Clock app, but it really eludes me how to do it. By looking at the source code for UICatalog, it seems to create these buttons you need to create a custom bitmap. Is this true? If so, is there a "standard" bitmap that can be used, to ensure cons...

SingleTap on UIScrollView

Hi, I see many post dealing with the UIScrollView like in the PhotoApp, but I don't really understand them, thats why I want to reopen a post about it and have a simple solution. What I want is to create (without IB) a simple UIViewController who will contain a UIScrollView (inside my scrollView there will be image and the scrollView w...

What are the video formats supported by MPMoviePlayerController on the iPad?

When you use iTunes to sync your videos with the iPhone the videos are always saved with no more than 640 pixels wide, if I am not wrong. What about the iPad? What is the size of videos iTunes syncs with iPad? 1024x768? and what if the video has a dimension below 1024x768? Will it scale up? or will it keep the video at low res and scale...

Is it is allowed to have secure transaction from iPhone native app

Hi, What I know that we can't develop a native app in iPhone which uses secure transaction(banking, purchasing etc). If we want to do so, we need to use Browser in app. Just let me know if I am correct. Is there in link which clarifies my concern. Thanks SD ...

how to find last day of current week in iphone ?

Hi, In my application I m using following codes to retrieve current date and day :- NSDate *today1 = [NSDate date]; NSDateFormatter *dateFormat = [[NSDateFormatter alloc] init]; [dateFormat setDateFormat:@"dd/MM/yyyy :EEEE"]; NSString *dateString11 = [dateFormat stringFromDate:today1]; NSLog(@"date: %@", dateString11); //[...

how to hide some properties using ABPeoplePicker

greetings! when using peoplePickerNavigationController:(ABPeoplePickerNavigationController *)peoplePicker shouldContinueAfterSelectingPerson:(ABRecordRef)person, a view with all of the contact's information is shown. I've seen apps which only display selected info only (e.g. phone numbers) how can I do this? I only want to display the ...

test automation tools avaiable for blackberry and iphone

Hi, I am new to mobile test automation. Kindly suggest test automation tools available for blackberry and iPhone. ...

How to install the .app file in to iphone device ?

hi , I have an .app file and the provisional profile this also contain the devices that has been bounded at the creating of this provisional profile when i use to compile it and install in the iphone via XCODE than it goes successfully in the iphone without any problem with this provisional profile. But when i remove t...

library routine called out of sequence

Hi, I got this error (library routine called out of sequence), and I read some things via google about threads, but i never call the database at the same time... I call this method for the first time with succes, Second time also with success, 3th time with no succes, my breakpoint stops at sqlite3_open... This is my code: -(NSMutableA...

iphone objective-c custom font

how can I load and embed a custom font in my iphone app? what font file types are supported? (otf, ttf...) ...

Where should I init my data?

I am parsing a CSV file when my iphone app loads. This takes a few seconds I would like to throw up a splash screen while this is happening however because I am loading this data from wakeFromNib the splash screen is coming up after I am done. So where should I do this work? ...

I add buttons on scrollview but buttons are not working.

I am new in iphone.I added 10 buttons on the scrollview.Buttons are scroll properly,but only 5 buttons are working last five buttons are not working.please suggest me what i do next. ...

Iphone UITextField only integer

I have a UITextField in my IB and I want to check out if the user entered only numbers (no char)and get the integer value. I get the integer value of the UITextField like that : int integer = [myUITexrtField.text intValue]; When I put a character ( , ; . ) it return me 0 and I don't know how to detect that it is not only numbers. Ho...