iPhone programming question:
Is it possible to wakeup/resume iPhone application from background mode to foreground mode programmatically?
I have a long-running background task, which is being launched in applicationDidEnterBackground method of UIApplicationDelegate.
I need to make my application active/visible using some code inside ...
What are the major differences between developing an application for iPhone and iPad?
iPhone apps need to be aware of incoming cellular calls, and that will have an impact to developers who need to program an app related to making a call.
I also know that the resolutions are different.
What other real differences does a developer nee...
I am allocating an NSArray in viewDidLoad (firstly is that alright to do, like is it good pratice?) but where do I release it? In ViewDidUnload, dealloc or didRecieveMemoryWarning?
(also should I message it to release, or set it to nil, or empty the array or a combination?)
...
I am very new to Iphone programming with Objective-C but I have picked up pretty fast in the last 1 month.
I have an application that reads data from a .csv which I then use to plot a continous graph on the Iphone. The problem is that there are close to 84,000 data points ( a major requirement) and the current design I used with Quartz ...
My problem is that I want to parse an xml file into a hierarchical menu in a series of drilldown tableviews on the iphone. The multiple delegates sample is hard for me to follow as it is a snippet and not a full fleshed out example. Pointers and full-fledged complete samples would be appreciated:
I find that this is going to be hard to...
I understand that I can change what interface orientations are supported, but if I want the landscape view to be entirely different, or somewhat different than the portrait view, how do I code for it?
Thank you.
...
I understand that you can choose what orientations to support, but if I want my landscape orientation to be somewhat different from my portrait, how do I code for it? Thanks!
...
Hi there,
I've just started using NSFetchRequests to handle all of my table/database connections, and it was going fine until I tried to implement a table that had sections in it...
The problem is that one of my tables is sectioned based on a floating point value which can take the value of: 0.0, 0.5, 1.0, 1.5, 2.0, 2.5, 3.0, 3.5, 4.0,...
I am trying to integrate the information in Addressbook into my iPhone application. Is there any way to push the view controller page into my current controller?
Thank you.
...
So I am trying to work with SQLite in one of iPhone applications and I am using the sqlite3 library. I am able to access the database and even make a query; in fact the query accesses the exact data but for some reason the string I am getting back is a long integer and not the string I was looking for. Here is the database and code:
Fi...
recently I've been given a project which need to display a spherical panorama view. Normally on iphone i've been using panoramaGL for some time but for ipad, i dont have any luck to use it any more.
I can compile the lib with some minor warnings. but when i try to link the lib to my real project, it just keep telling me that PLTexture i...
Okay, I think I might be over-complicating this issue but I truly am stuck. Basically, I am trying to model a weight set, specifically an olympic weight set. So I have the bar which is 45 lbs, then I have 2 weights of 2.5 lbs, 4 of 5 lbs, and then 2 of 10, 25, 35, and 45 respectively. This makes a total of 300 lbs.
bar = 45 lbs
2 of 2.5...
I'm trying to change the text of a custom UITableViewCell based on whether the text says Closed or not. However, when the text is Closed, the color will not change. Here is a code snippet. http://pastie.org/1078690
Thanks.
...
Hello. I'm diving into iOS development and am getting familiar with navigation view controllers. I'm trying to build a simple app with a table view that allows me to add objects to it. So far, I have a table view with an add "+" button in the nav bar that allows me to load my CreateObjectView and display it modally so the user can def...
Hi
How do I go about in an iPhone app, getting the user to click a button to find their location, with the CLLocation automatically locking or stopping when a good enough results is found after a few seconds?
Is there a function or an algorithm?
ie: if it finds a location with accuracy of 5m, stop, or stop after 15 seconds of trying.
...
Is this a good idea? When is it a good idea, and when is it bad?
Just heard about this in one of the WWDC videos, and I don't quite understand why would one want to do it this way. Seems complicated and I cannot see the benefit.
...
I have a class I wrote called Location that just holds some strings. I'm using two instances of that class in a view controller, and when I initialize the two variables in viewDidLoad, they work fine for that method, but then when I try to use them later they are null. I have them set as retained properties. I have tested them and kno...
I have seen it done on some apps, where the navigation bar is actually smaller than the default 44px, and there is a UIView (which has functionality) above the nav bar...
I want more than a custom background image, which I did manage to figure out how to do, but I dont know where to start getting something like this done.
Any help is g...
The HIG (p.47) says that I have to be able to handle the double-height status bar that appears during phone calls or voice recordings.
How exactly do I handle this situation?
I really only have 1 screen where a keyboard with toolbar over it underlaps a textfield when the double-height status bar shows - on other screens things are ju...
The specific thing I am looking at doing can be found on the App Store Application when you view an App. The screenshots of an app can be swiped from left to right to view. From what I can tell they have a UITableView with different cells holding the content. And for that one UITableViewCell where the images are Swiped left and right the...