I need to wait (don't execute the code) after the presentModalViewController until the modal view it's dismissed, it's possible or it's a conceptual error ?
-(NSDictionary *)authRequired
{
//This view write the settings when dismissed (plist)
[self presentModalViewController:loginRegView animated:YES];
//Read from the setti...
Hello -
I am using presentModalViewController to display a view which allows the user to modify data that is being displayed in the first view. After the user has updated the data, I would like to send [tableView reloadData] to the first view.
Is that possible? Or is there a method I can create in the first view that gets called when ...
This one Also Resolved by myself.
Good answer would be,
New Edition App: make change the sqlite file name. check file exist, get the old edition app sqlite name value then remove, and add into that folder.
this is the best answer.
*New efficient answer
STEP 1: select .xcdatamodel file
STEP 2: Xcode -> Design -> Data Model -> Add Mode...
In my code I'm trying to show a UIWebView as a page is loading, and then, when it's done, capture an image from the web view to cache and display later (so I don't have to reload and render the web page).
I have something along the lines of:
CGContextRef context = CGBitmapContextCreate(…);
[[webView layer] renderInContext:context];
CG...
I've upgraded current Target for iPad and I dodn't like the result. Now, i've tried to downgrade by deleting files but it's not working. Help!
Do I need to change project settings? Does XCode keep a backup of the project? What to do... It doesn't run on iPhone anymore...
EDIT:
The console crash log on the iPhone Simulator:
2010-05-1...
Is there any URL from google maps, that returns me the latitude and longitude of an address.
i want to use these lat and long details in iPhone Map kit to plot some information.
...
I want to build login application using regular interface in iphone.How can i do this?
Please help me.
...
I am writing an iphone app where in numerous cases a subview needs to talk to its superview. For example:
View A has a table view that contains
photos
A has a subview B which allows users
to add photos, upon which I want to
auto append them to A's table view
So far I have been creating a @protocol in B, and registering A as the deleg...
I want to build an application for the iPhone to be used inside a customer enterprise (very small, only 5 to 10 devices). But since they will be paying the application development, I don't want to distribute that application to the world inside the App Store in iTunes. How can I distribute this app to my customer? Should I get the Enterp...
hi, I've got a db on a server and want to get some data fro my iphone. I use TouchJson and everything works fine but I've got a little problem. I don't know how to download images. When I try to build and run the app the emulator just crashes. Got any ideas what to do?
...
Hello
I have two Xib view, one which contain play list and another which play the song containing with tab bar controller. Now after the song was played when we go back to play the next song then it contain the previous view along with navigation bar.
I have also tried the method "viewController=nil;".But I have get any result
Thanks
...
Hello All...
I would like to know some of the things before entering into the arena of iPad.
I have iPhone Application in AppStore. Now going to start the work on same app for iPad, so what are the things that I should keep in mind before developing it ?
Thanks in advance...
...
Hi,
I am fetching a RSS, in which i receive the following Date stamp:
2010-05-10T06:11:14.000Z
Now i am using NSDateFormatter to parse this datetime stamp.
[parseFormatter setDateFormat:@"yyyy-MM-dTH:m:s.z"];
But its not working fine if just remove the time stamp part it works for the date [parseFormatter setDateFormat:@"yyyy-MM-d...
I know that - SQLite doesn't support Day name & month name.
I have gone through this question.
I have created two custom functions for it.
My custom function for Converting Day name from day number
( %w day of week 0-6 with sunday==0 )
+(NSString*)dayNameStringFromDayNo:(NSString*)dayNo{
return
([dayNo isEqualToString:@"0"])?...
Coming from a ruby background, I'm wishing NSString had some convenient methods like the following:
[@"John" contains:@"ohn"] => BOOL
[@"1,2,3,4," split:@","] => NSArray
Anyone know of such an NSString helper library?
...
The Dock Connector to VGA Adapter (required for VGA out on the iPad) uses the Dock Connector, so I can't have my laptop connected at the same time.
I remember reading something about a Remote debugger, but despite lots of searching, I'm unable to find it.
How can I run the debugger to test VGA output of my iPad app?
...
Hi all,
I'm trying to make a little iPad tool's for drawing simple geometrical objects (rect, rounded rect, ellipse, star, ...).
My goal is to make something very close to Keynote (drawing feature), i.e. let the user add a rect (for instance), resizing it and moving it. I want too the user can select many objects and move them together....
Hi all,
I am facing a strange problem with AVAudioRecorder. In my application i need to record audio and play it. I am creating my player as :
if(recorder)
{
if(recorder.recording)
[recorder stop];
[recorder release];
recorder = nil;
}
NSString * filePath = [NSHomeDirectory() stringByAppendingPathComponent: [NSString stringWithFormat:...
Hi guys,
I am working on an iphone application. Application loads plenty of records from a webservice into table view controller. I would like to load 25 records initially and remaining in 25 batch on clicking something like "Load 25 more" at the end of the table view.
Any help would be grealy appreciated.
Thanks
...
Hi
I am looking for extending my current iphone app for iPad-specific UI. For the same Apple has mentioned 3 ways, however I am using the method where a Single XCODE proj is used for having 2 targets- iphone & iPad. There are a few queries:
two binaries will be created , which I can price differently for selling. Will they need 2 have...