How to dynamically create a sqlite3 database on the iPhone?
Hello, I would like to know if it is possible to create the file of a database by programming? Actually I need to create a database if it does not exist. ...
Hello, I would like to know if it is possible to create the file of a database by programming? Actually I need to create a database if it does not exist. ...
From iPhone Os 3.0, Apple released Auto-login and join functions for captive protals. So can not using http automated authentication for hotspots to login. Does anyone know how to disable the features programmatically ? I heard, the app, Boingo, implements the disable thing. At this time, I really need it. ...
Hi, all ! Which engine is best ? I've finded some engines : Ogre, Irrlicht and direct rendering from opengles (convert .obj files into buffer and rendering it). I've compiled Ogre - CeGUI works very ugly on iPhone... And Ogre has many-many files :) I need just rotate, zoom and object picking for static objects. Which method/engine is...
I read a plist data at LightTableViewController.m and I load a data like this : LOG RESULT: The Plist Data Is : ( { category = 11; id = 1; name = "LIVING RM"; status = 0; }, { category = 11; id = 2; name = "BEDROOM RM"; status = 0; } ) I ne...
Hi, I am trying to edit the add button to push to another view. But I am receiving an error -(void)locationAdd:(id)sender{ if([self.parentViewController isKindOfClass:[UINavigationController class]]){ UINavigationController *parent = (UINavigationController *)self.parentViewController; if ([[parent viewControllers] objectAtIndex:0...
I have add a UISearchBAr to the UITableView to implement search functionality. But after searching is done, the UISearchBar is also scrolling and disappearing along with the UITableView. I just want to know how to make the search bar static with only the UITableView scrolling... ...
Hi, I am new to Core Data. I fetch few objects into an NSMutableArray. Now I want to update an object with objectID x. My question is: How do I get the objectId for an object? and then how do I perform updates on that particular object? (eg: change 'Name' attribute and save) Thanks ...
I have created a 'working' manifest file. I am aware that what I am caching is over the 5mb limit that is allowed. My cache appears to loaded at random, I had expected it to load in order of how it is listed, however this isn't the case. Take the below example CACHE MANIFEST images/img1.png images/img2.png images/img3.png images/img4...
I use following code for parsing: //init parser with readStr NSData* xmlData = [stringToParse dataUsingEncoding:NSUTF8StringEncoding allowLossyConversion:YES]; NSXMLParser* xmlParser = [[NSXMLParser alloc] initWithData:xmlData]; //parse with events [xmlParser setDelegate:self]; [xmlParser parse];//<<<< BAD ACC...
I need to play a movie without any overlay from the player. No play/stop buttons, no time line, no start/end time, no progress bar, nothing. Just the plain naked movie in a subview. The movie may then be covered by my own graphics. The documentation does say it's possible to disable controls. However, something like "remaining time" or a...
Is that mp4? Which exact encoding results in best performance? Couldn't find it in the class reference. ...
Hello, i'm starting in iPhone devel and i need to use a multidimensional array. I init it using: NSArray *multi=[NSArray arrayWithObjects:[NSMutableArray arrayWithCapacity:13], [NSMutableArray array],nil]; when i try to assign values to n-th cell like: [[multi objectAtIndex:4] addObject:@"val"]; App hangs because of index 4 b...
Any idea on how to reset a UITableView??? I want to display a new set of data at the press of a button and also remove all the subviews from the cell's contentView and refresh them with a new set of subviews? I tried [tableView reloadData] the data did get refreshed but the subviews added to the contentview of the cells previously p...
Hi In my iPad app, I have a UIAlertView which pops up upon start up, however I only want this to popup the very first time the user starts the application. Its a setup prompt, saying, its your first time, would you like to setup? How can I do this? I have heard its best to write out to a plist file and save a bool value, but how would ...
I need to play small 300*200 points moview which are covered by an image that has alpha in it. However, I wonder if there is big latency when starting to play a movie file? The file is pretty small (about 50 frames only). Is it possible to play that with low latency, or do you always feel a strong lag before it starts playing? ...
I wonder what happens when you load a 300x200 pixels movie in MPMoviePlayerController. Is this movie automatically converted correctly on the retina display so that it will look the same size? Or must I provide two different resolutions then? ...
Hi all, There is a strange problem occured in my application in which it's showing a black screen for a bit of time before it loads my splashscreen. This black screen is not due to any ongoing operation as I am loading my splashscreen first and then starting my xml parsing task. I even tried using [window makeKeyAndVisible];, but in v...
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; if(![defaults boolForKey:@"acceptTC"]){ UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Notice" message:@"By using this application you agree to be bound by the Terms and Conditions as stated within this application." delegate:self cancelButtonTitle:@"No Deal...
I'm attempting to create a localized app, with English and Chinese. I have all the translations in my images. I have localized my image files with the folders zh_CN.lproj and they work perfectly in the app. I have attempted to create an InfoPlist.strings file, and declare the CFBundleDisplayName (I previously did this with a French loca...
Hi to all, i have created a music application where i dynamically image view and created buttons and dynamically added scrollview to it.now to this main veiw i have added a view and an image view and a button and i want that my dynamically add imageview and buttons should scroll from behind the view that i have added now to the view.Ple...