iphone-sdk-3.0

How to Parse string from one viewcontrol to other view control

How to parse values from one view control to other view control Any code help ...

Example Code for Pickerview and Tableview together

Hi, I'm searching for some example project/source code for an app with a Pickerview and a Tableview together as subviews. No fancy animations or anything, just the two together at the same time. I can get both working fine separately but I can't get them both together in the same project despite searching for sample code for the last cou...

Learning the basics of UIScrollView

I've been having a very hard time finding good examples of UIScrollView. Even Apple's UIScrollView Suite I find a bit lacking. I'm looking for a tutorial or example set that shows me how to create something similar to the iPhone Safari tab scrolling, when you zoom out from one browser window and can flick to others. But I'm having a ha...

Calling methods from the view controller from any class in the project

I'm a beginner with Objective C and iPhone development. It's there any way to call methods from the view controller from any class in my project ? I began writting a small openGL game, beginning from the EAGLview generated by the default opengl project that Xcode allows me to create. The game so far works well, but I would like to call...

IPHONE: UITableView cells not releasing content

Hi, I have this code below to populate my UITableView on the fly. I have to display two kind of cells: a regular cell with a background image and a cell with a regular background image, plus a label and a button. if Indexpath.row is less than a control variable, then regular cells are drawn. If not, cells with buttons and labels are ...

UIView using Quartz rendering engine to display PDF has poor quality compared to original.

I'm using the quartz rendering engine to display a PDF file on the iphone using the 3.0 SDK. The result is a bit blurry compared to a PDF being shown in a UIWebView. How can I improve the quality in the UIView so that I don't need to rewrite my app to use the UIWebView. I'm using pretty much close to the example code that Apple provid...

IPHONE: UITableView button on cell reporting wrong tag

I have a table containing images and buttons. Each button has a tag with a different number. All buttons execute the same method when clicked. I will use the button's tag on the method they run, to know which button was clicked. The problem is that the button's tag being reported is wrong. I imagine that as the cells are being reused, s...

how to show google maps using uiwebview with zooming in uiwebview?

as we all know that driving direction is not supported in mapkit.so i think i can show driving direction in webview.i am showing google maps in uiwebview,but it shows the whole site i just want to show only map part with some zoom so that it looks like original maps application of iphone.also i don't know if this breaks the apple's Human...

how to record video and save to documents directory iphone sdk?

i want to detect if the phone is 3gs then record the video and save to documents directory.and then play movie by picking url from documents directory.note i do not want to save video to savedphotoalbum so that user not be able to delete video.also is there a way i can save video to database ...

how to make dropdown box for iphone app

how can i add a dropdown box (html select tag) in my iPhone application? ...

popToRootViewControllerAnimated not working correctly

I have a navigation app and when certain errors occur I want to dump the user back on the view they started on so I have the following code execute in those conditions: [self.navigationController popToRootViewControllerAnimated:YES]; When it executes the root view isn't always displayed and/or the navigation bar will have the wrong ti...

Cross-compile Apache Portable Runtime to the iPhone

This is a followup to a previous question on cross-compiling for the iPhone: http://stackoverflow.com/questions/1602182/cross-compile-autotools-based-libraries-for-official-iphone-sdk Basically, I am trying to compile the Apache Portable Runtime (APR) version 1.3.8 (latest) for the iPhone. I am currently running into the following error...

Clear Content in the text file in Objective C

How can I clear the content of the text file in Objective C in Iphone Development ...

Help loading textures in PVRTC format for the iphone.

I'm programming a small app with opengl for the iphone, and now I want to load textures in the PVRTC format. Is this complicated ?. Right now all my textures are in .png format, and I'm using this method for loading them: - (void)loadTexture:(NSString*)nombre { CGImageRef textureImage = [UIImage imageNamed:nombre].CGImage; if (...

how to show default user location and a customized annonation view in map kit?

i am using map kit and showing customized annonation view.one is carImage and the another one is userImage(as current location of user).now i want to show current user location default which is provided by map kit.but unable to show it.how do i show blue circle+my car in map kit? ...

how to show mapkit blue dot(user's location) at desired location?

i am using map kit.i want to know that how we can get current user location.the mapkit shows blue dot at current user location.i want to do something like this.the user location is showed on map.i have button which on clicking again get the current user location and shows the blue dot there.do i need to use location manager.or just call ...

iPhone Text entry with completion and DONE button (not search)

Using iPhone SDK 3.0, I wish to allow text entry with (optional) completion options that appear as typing is occurring, i.e. also allowing freeformat entry. As such I am using a UISearchBar (which has the text change events) and a UISearchDisplayController to present options. The problems is I want the DONE button to say DONE and not S...

Are real products needed for In App purchase testing?

I'd like to test In App purchasing with my test user. However, it seems as though I need to create a real product and associate that to a real app. This product is then searchable in iTunes. If I'm only testing, I don't want the product searchable in iTunes. Can anyone shed a little light on that aspect of the testing experience for ...

How to get Video Camera Background on the IPhone w/ 3.1

Hey so I found this great post that details how to integrate Video behind openGL without much work. I've got the same setup and even the same starting framework, but it just doesn't work. It looks like he started with version 2.2.1 and then moved to 3.0.1, but even when I go back to use 3.0 it doesn't render the camera behind the openG...

Accessing pushViewController's methods from popViewController

Hi All, I am working on a view based application. In this i have two viewcontrollers. They are: Rootviewcontroller and Detailviewcontroller. Now i am passing a values to Detailviewcontroller using pushViewController method.It works fine. But now when i pop out from this Detailviewcontroller i should access myfunction in Rootviewcontrol...