iphone

mail composer. Removing keyboard explicitely ?

Hi how to resign keyboard explicitly for mailcomposer view controller. thanks ...

Cell Dequeue problem when table inside another table's cell content view

I am using two table views (Main Table and Sub Table), one table inside other's cell. I am adding Sub Table in Main Table's cell content view. I am also using different Cell Identifier for both table cells. Now, issue is : When - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath is ca...

Add safari bookmark from iPhone app

I'd like to have my applicAtion be able to add bookmarks to safari progammaticly, is this possible. ...

How to disable the changing of keyboard layout by the user in iPhone application

Hi All I have a requirement that a user is allowed only to enter string value in a text field. I need to ensure that he is not allowed to change the keyboard layout, once the keyboard is presented to him on clicking of the field. Is there a way to disable the button for changing the keyboard layout? Thanks in advance ...

Iphone - How to load Chinese text

Hi, I have a file with Chinese text that I want to use in my xcode project (I'm planning to load it through a database as it is lot of text), the problem is I dont know how to add the font to my project so that its viewable when used on an iPhone? Thanks :) ...

Changing/modifying selector assigned to UINavigationBar.backItem

and for some reasons I don't want to use leftBarButtonItem. That will be my second priority. FYI I'm creating my own UINavigationController class, so that I can accommodate a image on top of the navigationController. ...

iphone dev: UIImageview subclass interface builder - how to call custom initializer

hi. I messing with iphone developement. I have a uiimageview subclass that I want to use to detect touches. I have sucessfully added to interfacebuilder and I can detect a touch in my UIImageview subclass within my application so all is good on that front. however my UIImageView subclass has a custom initializer which is not called w...

Searching table view {iPhone sdk}

Hi ,, i am searching a tutorial that explain add search bar in tableview based on .plist file . because i import .plist data into my cells . ...

how to generate valid code-signing certificate in a keychain for iphone procedure?

hi, i am done with my iphone application.Now i just want to make a binary file of the application...For that i need a code signing certificate.. as i know i can make it with "code signing certificate" or "iphone developer" or "iphone distribution"... So i just wanna add anew certificate out there... so can anyone help me with that p...

Adding subview, gets delayed?

Hi, i didn't really know how to title this question, but here's a thing that really kills me: In my app i have a UITableView, UISegmentedControl and UINavigationBar. Once UISegmentedControl gets one of its segments selected i want to show a UIActivityIndicatorView on the UINavigationBar and then parse an xml file and present the results ...

Touch coordinates in iPhone landscape mode app

I am trying to make this landscape only iphone app. I only use this code for this purpose: - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { return (interfaceOrientation == UIInterfaceOrientationLandscapeRight); } However when I click clip subviews checkbox from interface builder, the view ...

iPhone App Development - Audio Queue Recording

I am currently working on an App which needs to get some data from the microphone. I have read through some resources on the Internet and believe that Audio Queue is a good library to do it. I only need to get an array which stores the microphone input data, and do not need to play it back. Can anyone kindly give some hints on that? Gr...

How to add a push button to an iPhone settings page?

In the Preferences app, Safari's settings page contains buttons labeled "Clear History" or "Clear Cache". The Mail App's settings page contains a big red "Delete Account" button. Is there a way to create such a settings page with buttons for my app? I checked Apple's documentation and didn't find an element type for such buttons. ...

SCNetworkReachability compiling error

Hello everyone I try to compile Ercia Sadun's sample codes at: http://github.com/erica/iphone-3.0-cookbook-/tree/master/C13-Networking/14-Web%20Browser/ There is error reported : warning: in /Users/interdev/iphone source code/Web Browser/Classes/SystemConfiguration.framework/SystemConfiguration, missing required architecture i386 in ...

Debug IPhone App on 3.1.2 Phone

Hello, I recently finished my first IPhone app and want to test it on my device now. I registered (and paid) for an Developer Account and managed to install the required certificates. Unfortunately my device is on firmware 3.1.2 (which I don't want to upgrade). My SDK only shows 3.1.3 as possible Target. As a result it can't be install...

How to use regex to retrive the content of attribute tag in iphone?

I am new to iphone development.I am using RegexkitLite framework to parse and retrieve the Particular content from the Html source.I want to retrieve the content in the attribute tag.How should i give regex to achieve it.The Tag is <a href="http://www.stackoverflow.com" class="11-link-dkred-bold">This is stack overflow HTML</a> I want...

ITunes app URl in SMS content

Hello, In my iPhone application, the user can send the itunes url of the application to other users. Is there any way to include the URL in the application because as far as I know, the URL is available only after the application goes live. May be dumb a question. Is it possible? ...

protocol method

I am struggling to apply a workaround I found regarding UIWebView accepting tap-events. Source: http://mithin.in/2009/08/26/detecting-taps-and-events-on-uiwebview-the-right-way/ . The author reminds the reader that he has to implement a '-userDidTapWebView' method, which is declared in a protocol. I don't know where and how to impleme...

Is it still being prohibited changing lock screen(wallpaper) in iPhone OS 3.x?

I checked this posting, so it was impossible to do it. But it's old posting, and somebody are saying me there is an app which can change wallpaper(lock screen). Is this allowed now? -- edit -- I'm sorry for my question was unclear. I was asked a programmatic and regular (which can be approved by Apple AppStore) way to change lock-scre...

Getting Carrier name in Cocoa Touch app

Hi, Is there a way to get the name of the current carrier of the phone inside a Cocoa Touch application? ...