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!
...
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
...
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 = ...
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...
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...
I want to calculate a logarithm in iOS. Can Objective-C do this?
...
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...
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...
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.
...
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
...
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 ?
...
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.
...
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.
...
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...
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!
...
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 ...
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?
...
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()...
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?
...