iphone

UIBarButtonItem with custom image and no border

Hello, I want to create a UIBarButtonItem with a custom image, but I don't want the border that iPhone adds, as my Image has a special border. It's the same as the back button but a forward button. This App is for an inHouse project, so I don't care if Apple reject or approves it or likes it :-) If I use the initWithCustomView:v prop...

[three20] dynamically add Items to TTLauncher

Hi guys, in my app i got a TTLauncher Object with some TTLauncherItems in it. Now i want to add some Items dynamically inside my App by pressing a button. Is there a simple way to do that or do i have to create my own methods? In the original facebook application there is already something like that implemented. (You can add your Frien...

iPhone: App crashes when I click on a cell in table view.

Hi there, Compiling my application works—everything is fine. The only errors I get are by deprecated functions (setText). The only problem is now, is that when I tap on a cell in my table, the app crashes, even though it's meant to push to the next view in the stack. Any solutions are appreciated, if you need any code, just ask. Also...

how can i set the background color of a particular button in iphone ?

How can I set the background color of a particular button in iPhone? I used: btnName1 = [ColorfulButton buttonWithType:UIButtonTypeRoundedRect]; btnName1.frame=CGRectMake(45,146,220,40); [btnName1 setTitle:@"Continue" forState:UIControlStateNormal]; [btnName1 setTitleColor:[UIColor blackColor] forState:UIControlStateNormal]; [btnName...

How to cancel touches in all subviews?

Is there an easy way to do that? ...

modalViewController still set after dismissModalViewController

I have a main screen that presents a modal view controller. When the modal controller is done it calls a method on the parent to dismiss the modal and then display a different modal view. The problem is that after dismissing the modal view controller (the view does correctly disappear) the subsequent presentModelViewController doesn't d...

Iphone - UIView not displayed

Hi, I have a strange problem with a UIView : I want to show an Activity Indicator View that I created with Interface Builder to indicate long running activity. In the viewDidLoad function of my principal viewController I init the ActivityIndicator View like this : - (void)viewDidLoad { [super viewDidLoad]; appDelegate = (MyAp...

UIWebView and Gesture Detection

HI There, I have a View Base Project application and one of the viewcotrollers simply manages a view that houses a UIWebView. I need to be able to detect tapping events on the UIWebView. I've tried suggestion here but cannot get it to work. http://mithin.in/2009/08/26/detecting-taps-and-events-on-uiwebview-the-right-way/ Would anyone hav...

iPhone - Play a video on both 3.0 and 4.0 OS / SDK ?

Hi, Since 3.2 iPhone OS SDK, playing a video is really different. So I was wondering if there is a way to make video play in full screen with a compatible code (both < and >3.2) without writing code for the two cases. I think we'll have to write 2 versions of our classes handling video playing... Thy ! ...

Iphone sdk - please help , 1 view takes me 45 minutes to do :(

Hey, I've been working on a Cook Book App but each view ( or recipie page) takes about 45 minutes to complete so as you can imagine its taking forever. The problem is that I have to manually: Set up a gradient image for the back ground (Somtimes I have to add a few image backgrounds to fit the view as I often use a scroll view, not s...

IPhone Range Slider

I know there is a UISlider but does anyone already made RangeSlider ( with two thumbs ?) or knows how to extend the uislider? ...

Drop Pin on Default Google Map from My App. How???

Hi I am new to iphone development. In my application, I have address for a location in group table cell, when i click the address text in group table cell. The pin should be dropped in default google map app to the corresponding address. is there any in-built functionality available for that?.Any Idea?? ...

Modify exif orienattion data using iPhone SDK

Can we modify exif orientation of an existing image using iPhone SDK? ...

Optimizing texture swapping on opengles for the iPhone

I have 2 1024x1024 sprite sheets, one containing several 480x320 background images and another containing a variety of smaller elements as entities and interface. My framerate drops like a rock whenever I enter a scene in which I have to display sprites from both textures (forcing me to re-bind twice per frame, interface texture->bg text...

Multiple developers on a Titanium project

I'm making an iPhone app with Appcelerator Titanium and I want to share the source code with a few more programmers. I will use a SCM repository which at some point might be open to the general public. Now my question is, are there any files which I should not commit to the repository? In project root I can tell that tiapp.xml and ...

Endless iPad Swipe?

Hi, i want to implement a ipad view, where i parse an xml file and put the entries side by side on an "endless" ipad view, so you have to swipe through it left and right. could someone tell me how i can implement this? which type of view do i have to use? thanks in advance regards ...

How to delay to load the button on image view in iphone

Hi, I am new to iphone development. I have created a view controller and sets the button on the view. On clicking the button, it navigates to the next view and loaded the image in the view. Now i want to display the button on after loaded the image. The button will be shown after 3 seconds on the image view. Please help me out, Thanks...

iPhone: How to read contents from UIWebView XML Document?

Hi all. In my iPhone app I'm using a UIWebView to allow the user to browse to an XML document on a website. When the user has found the xml document they want, they click a button below the UIWebView. Then I try to read the contents of the XML document from the UIWebView using: NSString *xml = [webView stringByEvaluatingJavaScriptFromS...

Xcode SDK version for testing & release?

I am just putting the finishing touches to an iPhone app that I have written, signed up to the developer program and installed Xcode 3.2.2 (1650) My question is which version of the SDK should I be using to build my application? I was thinking I should be using the latest 3.2 but when I select that I can only access the iPad simulator .....

How to capture a motion in iphone camera.

Hi, In My application as the user opens the camera, camera should capture a image as soon as there is a difference in image when compared to previous image and camera should always be in capturing mode. This should be done automatically without any user interaction.Please Help me out as i couldn't find the solution asap. Thanks, ravi...