iphone

List show/add/remove View

Looking for some best practices of UI list on iPhone which has item add/modify/delete functions. Please refer to some sample codes or articles to build user friendly interface. The main application is tab bar application and one of the tabs supposed to show item management. The item itself consisting of 3 text items, first one can be la...

iphone tabbar with custom buttons and scrollvie

i'm trying to get a tab bar effect not unlike russel quinn's 'creative review' app. the tabbar swipes across, which i have figured out, but the tabbar style itself is unlike anything i've seen on the iphone (though it looks so simple!). it has square buttons with a space between, and each button has a select/active/inactive state. i'm ...

how to get connected to twitter in iphone ?

how to get connected to twitter in iphone ? ...

iphone app time counter

I would like to create a time counter in my app that shows the user how many minutes the app has been running the current session and total. How do I create such time counter and how do I save the value to the phone? I'm new to app developement. ...

Has anybody got success in texture loading using a secondary thread on iphone?

I have been trying improve the performance of my game on iphone. Most of the cases, I do my all texture loading just before rendering the current frame. That makes big jerk in the frame rate. Anybody tried loading texture in secondary thread or something like that? ...

Iphone - cannot grant permission for publishing on a Facebook page that i administer

I want to open a dialog on the IPhone so a user can grant my application permission to post on a Facebook page that the user administers. Following the docs, I can grant permissions for the user's stream and I can even post on a page that he is a fan of. However, the post on the page is listed as from the username, not on behalf of the ...

how to draw square after load the application in iphone(graphics) ?

how to draw square after load the application in iphone(graphics) ?(I know how to draw shapes but i exactly want to show draw shape after my app. launch what can i do) and also want to fill color after app. launch ? ...

Show PDF in iPad using CGPDF APIs

I have learned Apple has release CGPDF APIs in SDK 3.2 for drawing PDF context. What I understand from these APIs is that you can draw a PDF to a data object or a PDF file. You can then export it, may be, to your sandbox's directory OR add as an attachment in the mail. But I am not sure if we can use these APIs to read a PDF from app...

Hide the rightBarButtonItem of a navigation controller

Hi friends Do anyone know how to hide a rightbarbutton of a navigation controller... In my application i have a edit button as a rightbarbutton of a navigation controller... i want to hide this button when some operations are done.... ...

Animation in quartz 2D

I want to create an app which after each 1 second will show 4-5 words on screen but the last word will zoom out/in. I can easily create static words and for the last animating word i need to draw the static again n again. How can i create 2 separate layers so the static text is on one layer ( i will fill it after each second) and the las...

Can't remove Default.png?

I had been fooling around with an initial splash screen but decided not to use it. But now, although I deleted Default.png from Resources, the splash screen still appears in the Simulator when I start the app. Default.png isn't in the project folder, I close and reopen Xcode, splash screen still there. Close and reopen Simulator, spla...

Testing asynchronous methods on iPhone

I tried OCUnit, GTM, and iUnitTest but none of them supports testing for asynchronous methods. How do you test asynchronous methods on iPhone? ...

+(void) initialize in objective-c class static variables constructor

I found some sample code from here. static UIImage *backgroundImageDepressed; /** * */ @implementation DecimalPointButton + (void) initialize { backgroundImageDepressed = [[UIImage imageNamed:@"decimalKeyDownBackground.png"] retain]; } is it something like this - +(void) initialize method initialize static variables of a class...

Core data and special characters (UTF-8)

I have an iPhone application using Core Data with an SQLite database in the bottom. I'm writing some text content from the database to a file, but special characters such as Å, Ä and Ö are corrupted in the file (they show up just fine in the application). When creating and inserting data, I am not using any special encoding. I'm just ta...

live audio streaming format

Hello, What are the possible formats of Live audio streaming in iPhone? Thank you, ...

audio frameworks in iPhone

Hello, I would like to know the follwing information about iPhone audio system Heirarchy of the audio framework in iPhone OS. i know that there are 3 main audio frameworks in iPhone OS.i.e AVFoundation Framework CoreAudio Framework OpenAL Framework what are the audio formats supported in each of the above framework?I mean wil...

displaying german characters in iphone

i have following string coming in the json response. "Gas-Heizung-Sanit\u00e4r" so how to display it. i want to display that \u00e4 as a german character.. NSString *str = "Gas-Heizung-Sanit\u00e4r"; NSLog(@"%c",str); it only prints the german character. ...

how to come back from my sub view

i have a button on the main view and when i pressed the button i wrote an ib action to open a text view programmatically to appear and it will cover my original view . i placed a button now on text view programatically. how can i come back to my super view or main view when i pressed button on text view can any one send me syntax for ...

Any simple clear code snippet for creating CALayers for iPhone?

is there any simple code snippet available that just shows how to create 2-3 CALayers, how to attach it on main screen, how to draw contents in those layers and how to redraw individual layer? ...

Text not being highlighted on search in UIWebView using javascript.

Hi, I have successfully implemented js code to highlight searched text. But it does not work for my pdf file. Is there any solution please help. regards aamir ...