iphone

Which delegate method I should use to respond to clicks on a text field?

I want to open a panel when the user clicks on a text field. I think I should use a delegate method that responds to the click event. I found that the - (void)textDidBeginEditing:(NSNotification *)aNotification method does not work, and that the - (void)controlTextDidBeginEditing:(NSNotification *)aNotification method works, but on...

what is the function to get pixel information in opengl es 1.1

Hi everyone,can anyone tell me which function to use in order to get pixel information ...

symbolicatecrash

I used the following script to symbolize the crash report I got from the user: /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Plug-ins/iPhoneRemoteDevice.xcodeplugin/Contents/Resources/symbolicatecrash myapp_iPod-Touch.crash myapp.app.dSYM > test.txt It matches up all of the framework calls but none of my code. Ho...

Is any font that looks like LED in iPhone ?

Hi, I am develop a simple iPhone app. I need a font that looks like LED. Is any font that looks like LED in iPhone ? ...

Make a UIScrollView get touch events with a UITextView as a subview

Hi, I have a UIScrollView that contains a UITextView (not editable). I can't make the UIScrollView gets the touch events, UITextView seems to get them and keep them . Any idea how to let UIScrollView gets the touch events? I want UITextView to still be scrollable vertically (my UIScrollView is scrollable only horizontally). ...

iPhone RSS Reader -- parseXML won't Load some XML feeds

I am using the SIMPLE RSS reading example found at http://theappleblog.com/2008/08/04/tutorial-build-a-simple-rss-reader-for-iphone/ It uses parseXML to load the RSS feeds. Here is the problem I am having. For the following RSS feed example, I am having trouble getting it to load the feed. Comes up with an error that it cannot connec...

How to do texture modification

I am working on iphone opengl es. I am a newbie to this. Can any one guide me how to proceed.. ...

Latency with NSURLConnection due to DNS lookups?

Hi all, I'm banging my head here trying to figure out why there is a three to four second overheard for when an NSURLConnection object is created with a POST based NSMutableURLRequest. The overhead which I speak of, is after an NSURLConnection gets fired off, watching Apache access logs, I see the request come in substantially longer af...

Merging camera images causes SpringBoard to terminate application

I'm traversing the view hierarchy of the camera view and grabbing the image from the view like this: CGImageRef img = (CGImageRef)[cameraView imageRef]; // undocumented api... I then run it through a transformation to rotate it back to the correct orientation. Once in the correct orientation, I merge another image on top of it with a ...

Problem Flipping a View

I'm having some trouble getting a view to flip. I have the following code in my View Controller: - (void)loadFlipsideViewController { ProblemViewFlipController *viewController = [[ProblemViewFlipController alloc] initWithNibName:@"ProblemViewFlip" bundle:nil]; self.problemViewFlipController = viewController; [viewController ...

Web page restrictions for use on iphone / smartphones

I want to allow our main application to generate document files that can be easily read on the iphone, or other smart phones. The easiest way to do this, I think, is to create a simple HTML file and use javascript to show / hide different bits of it. For example, when the user clicks / touches "section 1", the section expands to show its...

Toggling display of image in UITableViewCell

Depending on the result of a condition, I want to display a UIImageView in a table cell. Otherwise display UITableViewCellAccessoryCheckmark. I'd like to construct the cell in IB. The part I'm not sure of what to do with the UIImageView when I don't want it displayed. If I were constructing it all programmatically, I'd add the UIImage...

How do I create in Xcode an iPhone project specifying at project creation time the SDK version I want to use?

With the latest Xcode and SDK 3.0 beta when you create a new iPhone project, Xcode creates an SDK 3.0 project. If I want to revert to SDK 2.2.1 after the project has been created, I need to change something in the generated source code files since some of the APIs have changed. Is there a simple way to specify at project creation time th...

Text magnifying glass hangs with UIKeyboardTypeEmailAddress?

I have a UITextField that I put into a UITableViewCell that I put into a grouped UITableView. I noticed today that if I hold my finger down to bring up the iPhone magnifying glass, if my UITextField's keyboardType is UIKeyboardTypeEmailAddress, the magnifying glass is displayed, but it just hangs - I can't move it left or right, I can't ...

Can iphone mix two sound files or build custom equalizer?

Can iphone mix two sound files or build custom equalizer? I have studied for weeks about this problem, and it seems unable to use iphone-sdk to mix two or more sound files or to build custom equalizer. Is anyone have the experience to do this? ...

UiTextField and resignFirstResponder

I have a weird setup. I have a View call View1 and a ViewController call viewController1 in IB, view1 is a child of the ViewController1. Inside View1, I created using code a UiTextField and added as as subview. In my Viewcontroller, I have viewController1 : UIViewController Now.. I would like to resign the keyboard when the text fi...

How to modify pixel data after getting the pixel information

hello, I am reading pixel information using the function glreadpixel(). can any one suggest me how to do operations on them after getting them.i would be very thankful if anyone provide me a sample code to refer. Thankyou.. ...

how to get distance using Wi-Fi

I want to find the distance using wi-fi and plot the marker on map in iPhone. So any idea or code i can get for that? ...

UiTableView Wont Scroll

Within InterfaceBuilder, Scrolling Enabled is checked marked So is Delay Content Touches , cancelleable Content Touches and User interaction Enabled is checked What is weird is that I get Bouncing Scroll but not the regular scroll. How does UITableView determine when it needs to scroll? ...

iphone simulator using multi-touch problem

i know in iphone simulator to input using multi-touch, hold down the OPT key while using the mouse. will see two virtual fingertips.and move the mouse to pinch in and out. my problem is in simulator,these two fingertips will only be overlap at the center all the time, if i jus want move one finger and another finger fix at a point,rathe...