I am programming an Xcode iPhone app and utilizing sqlite. In an effort to delete all rows from a table, I receive the warning above when I build my code. Does anyone have any suggestions on how to fix this?
Thanks
- (void) deleteData {
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,
...
Hi everyone,
I'm working on a app with Facebook integration.
When I list Facebook contacts, I would like to use the same 'Sort Order' and 'Display Order' as in the Contacts app on the device. The way contacts are displayed on the default Contacts app, can be adjusted in the Settings app.
My question is, do you know if I can access th...
Hello,
I have developed two app (Free and Paid) I will upload it on App store. But my question is how can I add a link in Free app to download Paid app.
Ex: Click to buy full version.
Since I don't have any app on iTunes, so how can add a link on my Free app. And I have seen may free app doing this.
Please help me its urgent.
Thanks...
Hello,
I am developing a app in which I have to add custom contacts to iPhone Contact list.
To elaborate that every contact in iPhone have a definite set of fields which we can be used to save contact info.
I want to know if we can
add custom fields apart from that ofexisting options in iPhone.
If its possible please show me the w...
Anyone knows how to read all contacts from address book and show it in a tableview in the main screen ?
...
i have a 3gs iphone with the latest firmware 3.1.2 and wanna know how i can access or view the already existing databases to view and modify.
...
Hi
When does the AVAudioPlayer's currentTime method return a negative value? The audio file is playing (I am putting in a check before getting currentTime) but making a call to currentTime returns a negative value.
Any ideas? Thanks
if(thePlayer != nil && [thePlayer isPlaying]){
double playerTime = [thePlayer currentTime];
NSL...
I'm working on a little game in OpenGL ES.
In the background, there is a world/map. The map is just a large texture.
Zoom/pinch/pan is used to move around. And I'm using glOrthof (left, right, bottom, top, zNear, zFar) to implement the zoom/pinch.
When I zoom in, the sprites on top of the map is also zoomed in. But I would like to have ...
hi i am new to iphone application development, i want to design an alert view, which has 2 buttons, OK and cancel. On Ok Button the i will print say an message hello and on cancel button i will print cancel..
Please help how am i to do it
...
hi expert, what will be the result of the
libHandle = dlopen("/System/Library/SystemConfiguration/WiFiManager.bundle/WiFiManager", RTLD_LAZY);
i'm using this for getting wifi info on ipod os 3.1.2., bcos when i NSLog(@"Result %@",libhandle); i'm getting null what should be the answer,
thanks
...
Hi,
self.delegate = self; what's wrong in doing that?
and what is the correct way of doing it?
Thanks, Nir.
Code:
(UITextField*)initWith:(id)sender:(float)X:(float)Y:(float)width:(float)hieght:(int)textFieldTag {
if (self = [super initWithFrame:CGRectMake(X, Y,width, hieght)]) {
finalText = [[NSMutableString alloc] initWith...
I did everything according to documentation.i marked both the Apple WorldWide Developer certificat as always trusted..
and the iPHone Distribution one as Always trusted, but i faced following error message.
/Users/keyss/Desktop/Deep/Free_Version/######/build/Release-iphoneos/####.app: replacing invalid existing signature.
/Users/keyss...
I have a view hwre there are 4 buttons, when i click a particular button, the focus on that button changes to blue color, and the next view is displayed accordingly..
but i want a view , like when i just keep the mouse on the particular button, or when i just touch the particular button, it should get highlighted...
similar to the one in...
If i do the following it saves fine:
- (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingImage:(UIImage *)selectedImage editingInfo:(NSDictionary *)editingInfo {
box = (Box *)[NSEntityDescription insertNewObjectForEntityForName:@"Box" inManagedObjectContext:managedObjectContext];
// create an instance ...
hi,
Is there any way to save all the console messages to a file in iphone ?
Thanks
...
i want to let the user type in the name of a new file, so there are certain characters i want to prevent entry on. is there a special keyboard i can use or can i disable certain keys on the iphones keyboard.
is the answer to just run a regular expression on the input text and tell the user the filename is invalid (if so what would that ...
Hi,
in run time i need to convert UIColor to NSString ..is there any method..any help?
i tried
NSString *colorString = NSStringFromClass([[UIColor redColor] class]);
colorString did not give @"redColor"
...
Hello all,
I am developing an iPhone application .
In the application I want to show the uitableview data sorted on the date field :
Suppose I have a Person object with fields name,birthdate,phone number etc.
Now I have array of Person and I am sorting that array on date field.
Now I am not understanding that how to handle these two...
i am accessing the web services, which return me data in a string array.
now i am creating a label at runtime, and adding it to the view of the application.
but for eg if there are 3 recodrs, only the third value is displayed in the label.
i mean to say i want to add labels one below the other.
how am i to do it...
i declared NSInteger ...
I'm using ASIHTTPRequest to communicate with the server asynchronously. It works great, but I'm doing requests in different controllers and now duplicated methods are in all those controllers. What is the best way to abstract that code (requests) in a single class, so I can easily re-use the code, so I can keep the controllers more simpl...