iphone

Any non-private API alternative for this?

My app was recently rejected due to using a private API (addTextField: method for UIAlertView, which is quite useful, might I add). Is there any non-private alternative to UIAlertView's undocumented addTextFieldWithValue:label:? Thanks SO much in advance! ...

Deleting custom cell in Table View.

I am using a Table View Cell to draw custom cell in table view. Now the problem is that when I try to delete the cell in editing style UITableViewCellEditingStyleDelete only the the little red -ve sign bitton appear and when I click it nothing happen. Please help me and tell me how to delete custom cell in table view Thanks ...

Button does not respond to touches.

In my app there is a background on top of the window: UIImageView *mybg = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"bg_large.png"]]; [window addSubview:mybg]; then a button in top of the background: UIButton *infoButton = [[UIButton buttonWithType:UIButtonTypeInfoLight] retain]; infoButton.frame = ...

Event kit framework not loaded in ipod

I have write code for added custom event to calendar,i run in simulator it works fine. I can't install this code in my ipod device, any one help me ? Thanks in advance...... EKEventStore *eventStore = [[EKEventStore alloc] init]; EKEvent *event = [EKEvent eventWithEventStore:eventStore]; event.title = [[Eve...

examples/tutorials iPhone post/upload request ?

I am doing some uploading stuff in iphone this time. This is absolutely first time for me. I have found some useful links and answers by googling and finding them on stackoverflow. And I was able to upload an image by the following code : NSData *imageData = UIImageJPEGRepresentation(imageView.image, 90); NSString *urlString = @"s...

How do I calculate a logarithm in iOS?

I want to calculate a logarithm in iOS. Can Objective-C do this? ...

Getting the dimesions of the iphone camera

Hi, I'm using UIImagePickerController to take photos and wondering if there's a way to get the dimensions of the camera before I take the photo. (because it varies between iphone 3 and 4) I want to set the value of cameraViewTransform so that the preview image fits the full screen, thus before not after taking the photo. Any suggestions...

XCode debug vs release build when debugging.

Ok, i think i've seen it all now. For about 24 hours i've been trying to debug my app, trying to find where all the weird crashes are coming from all of a sudden. I've been debugging via Simulator/Debug mode. As usual, when i hit a breakpoint, i could see the value of variables (most of the time). Then suddenly i was unable to view vari...

how to convert german charater in to utf string in pdf parsing in iphone?

I have implementing pdf parsing in which i have parsed pdf and fetch the all text but it disply junks characters so i want to convert in to utf string.How it possible please help me for this question. ...

UIAlertView like "Turn On Location Services to allow maps to determine your location". Settings + Cancel

I Want to emit this alert: Turn On Location Services to allow maps to determine your location I need both "Settings" and "Cancel" exactly like the "maps" application. "Settings" should open settings->general->location services I didn't find the way to open the settings page. Can you help me? Thanks ...

javascript file in iphone...?

I want to make a calculator..all the calculation code is given in javascript file..I don't want to do all the calculation again..?can there is any method that can directly call the methods given in javascript file...? sample of javascript file is here--- function reset() { D6080One.resetAll(); D6080Multi.resetAll(); IsoOne.resetAll();...

how to get user's facebook profile pic via fbconnect in my app iphone ?

how to get user's facebook profile pic via fbconnect in my app iphone ? ...

custom uitableview like uitextview

I want to create a custom table view. In the table view the user should enter the username and password and other fields.In other words the table view should behave like a uitextview. I couldnt find a good tutorial for achieving the functionality i require. ...

label not updating on iPhone

I am running a synchronise process on the main thread because I don't want the user to try and do anything else during the process. However I want to update the interface. For the most part it does update, but sometimes the label I have has not quite caught up to the text I have set it. Is there a way of forcing the UI to refresh. ...

Universal app rejected in itunes for "missing screenshot" yet is set for "iPhone" Targeted Device Family

I upgraded my app to universal, but am not ready yet to release the ipad version just an update to the iphone version, so I set targeted device family to "iPhone". After successful upload of the binary, the app is quickly marked red with "missing screenshot". Presumably, this error is related to a confusion about iPad? Looking at the Ar...

What is "-[UIApplication beginIgnoringInteractionEvents] overflow. Ignoring."?

After adding about 25 animation blocks within a for loop, there are a lot of -[UIApplication beginIgnoringInteractionEvents] overflow. Ignoring. messages showing in the Xcode debug window. What does the message mean? Can I safely ignore them? Thanks! ...

Region Monitoring - didEnterRegion

I want to check whether iphone is in a particular region and the region coordinates I am getting from web.On web region is a polygon, but as CLregion has only one fuction i.e. initCircularRegion, how can i convert that points of polygon region to get a circular region for which I can do monitoring, or is there any other method by which ...

scroll view slides back to original point without staying there

i have a view on which i have image view and scroll view and tableview . scroll view is double the iphone screen .now when i slide the scroll to left i does not stand there rather it slides back to starting position ,how can i fix it? ...

VEMap: pan and zoom work separately; together, zoom no longuer works

I was trying to make Bing Maps's VEMap compatible with touch devices, in particular the iphone / webkit mobile. In the following example, this works: - pan using one finger - zoom in/out using pinch (two fingers) However if I put both in the same time, then the zoom doesn't work anymore: you can see in the console that VEMap.ZoomIn()...

How to get Rows updated automatically ?

HI all, I have made my custom Data Model, custom Data Source and a TTTableViewController which uses my data source, now in data model there we are mentaining the array, if something changes in the datamodel, ui should auto reflect those change, how this thing can be implemented? ...