I'd like to use reliable locations, even on an old iphone. However, many readings (particularly from cell towers) are too inaccurate. I think.
When I plot my position + accuracy radius (or look at google maps app), I notice the center of the estimated circle is generally close to my physical location. I'm guessing that if I cut the "...
I don't want my app to go to sleep (shut screen off) unless the user puts it out of its misery. I'm trying what I think is simple code:
- (void)applicationDidFinishLaunching:(UIApplication *)application {
application.idleTimerDisabled = YES;
This works most of the time, but the app still occasionally goes to sleep. I'm not sur...
I'm working on an app for jailbroken iPhones. I'm trying to get only the directories of an folder. so I'm doing this:
NSArray *contentOfFolder = [[NSFileManager defaultManager] directoryContentsAtPath:path];
NSLog(@"contentOfFolder: %@", contentOfFolder);
directoriesOfFolder = [[NSMutableArray alloc] initWithCapacity:100];
for (NSStrin...
Hello, can you give me a hint how to customize such a contact picker from e.g. Mail or Facebook App with the (+) Adding Contacts (or other data) to a UITextField for recipients .. each of the entries can be deleted then with the (x) ..
can you give me a hint where to start and what i should customize? thank you
...
Hi,
When I load a specific web page using UIWebView in my iPhone app, it crashes with a mach_msg_trap error. Other websites load fine in my app.
Try this URL as an example:
[rssArticle loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.fan-f1.com/actualite-8387-F1-Massa-pourrait-quitter-lhopital-de-Budapest-dans...
Does anyone know how to add two system buttons to the top right side of my navigation toolbar. I know that custom buttons can be added, and i really dont understand why the system buttons can't do this to.
And i really need it, i need a add button and an edit button.
edit to reorder and delete table rows.
add to add a new row.
I cant...
I have a UIWebView component that is going to load a webpage which might contain JavaScript. I want to run some JavaScript of my own before any JavaScript on the loaded webpage runs. I know I can use [myWebView stringByEvaulatingJavaScriptFromString:] on the webViewDidFinishLoad: delegate of the UIWebView, however this will only run my J...
I use a UIViewController to list out items in 2 separate places. One place is its default home and another is where another controller pushes it onto a nav stack to view a list of items.
Both places allows you to add new items to it by clicking an add button in the navBar. The list's behavior is decided based on a NSObject * called targ...
I have a UITabBarController created programaticaly that manages 4 subclasses of UIViewController. Something like:
//Create Controller 1
self.terminal = [[[TerminalController alloc] initWithNibName:@"TerminalView" bundle:nil] autorelease];
UINavigationController* navTerminal = [[[UINavigationController alloc] initWithRootViewCont...
Hi,
I am using inbuilt framework of iPhone sdk to send an email.
So is there any way to test this functionality on iPhone simulator.
Also the composer shows only TO, CC, BCC but not FROM, so what email id does it use to send an email to the specified recipients.
...
Aside from using URL scheme, what other means are there for two iPhone apps to pass data between each other (ideally, without launching another app -- which is one of the downsides using URL scheme)
...
Hello,
I am trying to play music from the user's music library and at the same time record from the built-in microphone. However, as soon as I start recording from the microphone it automatically pauses the music, and I can't find any way to play music and record at the same time. I am using the MediaPlayer framework to play music and t...
I have a list of several hundred locations and only want to display an MKPinAnnotation for those locations currently on the screen. The screen starts with the user's current location with a 2 mile radius. Of course, the user can scroll, and zoom on the screen. Right now, I wait for a map update event, and then loop through my location...
I have a long movie that I'll be putting in an app, and I wanted to know what the best way to put the user back to the point they left off. Can someone point me in the right direction?
So if the user is watching the film, hit done, is there a notification of the current time or something that I can store and load the instance again with...
Hello I am using a tab bar application.
I want to reload a view when user presses on any of tab button.
if user presses first button of tab bar,
first view is loaded only once.
i need when ever user presses first tab bar button,
view must be reloaded.
this is required, due to following reason
in first view - i have list of employees...
How expensive is it to call executeFetchRequest on the managedObjectContext? Does it depend on the data set size? Is this something that can be done often or should be avoided as much as possible?
...
I am using Core Data and I only want to fetch the first record in my dataset, is it possible?
...
I made some changes to CoreData's data model without changing the schema. I merely set the indexing on certain attributes. Do I need to do anything in order for the database to pick up the new changes?
What else does the xcmodeldata file do behind the scene aside from letting us model the data model?
...
I want to be able to read code on my iPhone in the bus every day. Ideally, I'd like to be able to download a package, extract it to a folder, put it on the iPhone, and be able to just browse through the code (folders & files and all). Don't need to be able to edit, just read.
Is there a good solution for this? If there is not, could it ...
I am developing my first iPhone application, but I am not sure how to go about handling the ownership end of it. Do most people just own it in their own (personal) name? Do people form an LLC (or some other type of company) and transfer it to that? I'm not looking to make tons of applications, but I do have this one good idea. (I'm n...