iphone

IPhone Development - popViewControllerAnimated doesn't update tableView

Hi guys, I'm trying to auto-update a tableView after call popViewControllerAnimated from a view. I've ready this post, but it's not exactly what I'm looking for: http://stackoverflow.com/questions/1892713/popviewcontrolleranimated-doesnt-update-info-iphone-sdk Any ideas? Thanks in advance, Claudio ...

rotating the uiview withoud IB

hi everybody. in my app all my controls are created in code. i have not used IB for controls. now i want to rotate the view to landscape mode. i know i have to use the shouldAutorotate method for this purpose. but since i have not used IB, how can i resize the controls when they are in landscape mode? how can i position them correctly us...

Resign First Responder on ScrollView Touch

How can I hide the keyboard on ScrollView touch event... Scenario is like that... ->View ->ScrollView -->Textfield I want to hide the keyboard on touch of scrollView. I tried to override the class for scrollview,but still i can't do it. Please help me with Code.... ...

CGContext Draw Line slowly responding to fast finger movement

I am using CGContext to draw lines on finger touch. If the finger is moved slowly on the screen , it worked perfectly...but the problem is that if the finger is moved fastly , the line lags the finger. I mean the line draws at a point one second after the finger is touched at that point ( so annoying- it is not the problem on simulator ...

What is a CALayer?

What is a CALayer (as seen in the layer property on a UIView) and where would we use such a class? ...

form submit through javascript in iPhone sdk application

Hi, I need to post a form loaded in UIWebview (iPhone sdk/Objective c) through javascript injection. I used document.form.submit() which is not working. Plz Plz help.... ...

What is the best location to find tutorials on physics in game development?

I'm very new to game development (iPhone/iPad specifically, if that matters at all) and am having a tough time with working with the physics part of animation. Specifically I'm trying to give several balls (circular UIImageView or CG circles) physical properties (gravity, weight, friction, etc). Are there any really good tutorials on ge...

How to load google maps using google maps api in iphone ?

Possible Duplicate: Integrate Google Maps API into an iPhone app How to load google maps using google maps api in iphone ? ...

How to handle user click the "delete button " in setEditing in TableView?

I added a editButton on the table like this: self.navigationItem.leftBarButtonItem = self.editButtonItem; and, having a setEditing method: - (void) setEditing:(BOOL)editing animated:(BOOL)animated { [super setEditing:editing animated:animated]; [self.watchListDetailTableView setEditing:editing animated:animated]; if (...

How do I set up several custom UIViewControllers under one central view controller programmatically?

Hi. Being new to Xcode and Objective-C I find it hard to get my head around the Interface builder and Objective-C when doing things that are following the basic pattern. I have created a subclass of UIViewController that I want to instantiate several times to make a grid with each row being controlled by an instance of this class. So the...

UISearchaBar is disappearing from UITableView

I've a view controller (named it as SearchViewController) with UITableView and UISearchBar. UISearchBar is set to table as a header view. While searching in the table using this searchbar works great. By selecting any one of the displayed search results, I can move to next view (named it as DetailsViewController). But after returning to...

iPhone tabBar TTNavigation caching

Hi All, When using a tabBar and TTNavigator I get some unwanted caching... for example: Select tabItem 'A' Select TTTableViewController item (redirects with tt://myController) Select tabItem 'B' Select tabItem 'A' again Viola! You have the contents of tt://myController on the page! Is there a way to get tabItem 'A' to rerun it's view...

How to handle class methods being called again before they are finished?

Hi. What is the best way to handle this situation on an iPhone device: My program ramps the pitch of a sound between two values. A button pressed calls a method that has a while loop that does the ramping in small increments. It will take some time to finish. In the meantime the user has pressed another button calling the same method. No...

How would you weigh something using an Iphone?

Provided you know the weight of the phone, how would you weight any object using the phone? Edit: Ok what if you had a device that would let you compare the weights? ...

iOS CALayer.mask on a moving layer.

Hi everyone, I'm writing an iOS app and I have set up some code for a CALayer named "Wheel" to animate (rotate) continuously which works great. I wish to mask this layer so only a small portion of it is visible, instead of the whole layer. I added a mask using CALayer.mask but it too rotates as it's a sublayer of "Wheel". Is there any ...

how can i make different charts in iphone ?

IS there any library or apis for different types of charts in iphone ? Thanks in advance. ...

To save recorded video

Hello, Please can anyone provide any sample code to save video after recording. I m able to record video using UIImagePickerController. if (canShootVideo) { UIImagePickerController *videoRecorder = [[UIImagePickerController alloc] init]; videoRecorder.sourceType = UIImagePickerControllerSourceTypeCamera; videoRe...

App crashes when saving picture to library

Hi all, I have a problem with my app when testing it on my iphone. I have a method that combines 4 images in one and saves it to the photo library: - (UIImage *)combineImages{ UIImage *image1 = firstImgView.image; UIImage *image2 = secondImgView.image; UIImage *image3 = thirdImgView.image; UIImage *im...

how to modify the popover in uitextview

In the UItextview , on the touch event there is popover which shows the option of edir, copy paste . Now here i want to just one button in popover in with link as label on it . I searched it but i could'nt got the correct result. ...

No thumbnail in iPhoto for images saved with UIImageWriteToSavedPhotosAlbum

My application downloads JPEG images from the web and save them to the device using UIImageWriteToSavedPhotosAlbum. All works fine except for one issue: when I browse iPhone's photo library with iPhoto, some images have no thumbnails -- an empty dashed rectangle is displayed instead. Those JPEG images application downloads are also gener...