how can I get the current time in hh:mm format? I need to be able to tell between AM and PM and compare between the current time and a second time as well. I'm sure it's a silly function but i can't seem to figure it out.
...
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...
Fot testing iPhone apps, is it a bad idea to have a development code signing provision that will run any app with com.mydomain.* ?
Why?
EDIT:
See italicized edit above.
...
I want a view to fade in when being added to the stack via
[self.view addSubview:someSecondaryViewController.view];
How do I animate this call so that the view fades in (and out)?
...
I want to allow my user to store custom phrases, to be displayed in an editable UITableView.
What's a quick and dirty to store these strings?
I'm fairly new at iPhone development. I know about Core Data, but not how to use it. i would stay away form that just for this particular project if possible. Are PLIST files a possibility here?...
Is a UINavigationController a subclass of UIViewController?
...
I am new to iPhone development. I want to make a simple iPhone application which when launched computes the distance travelled by the user,calories burnt,postion of the user,movement.Can anybody provide me the details or approach to follow to develop this application.
...
For those of you who work graphically, here is a diagram of the view hierarchy:
Root View -> UINavigationController -> UITableView -> Edit View -> Problem UITextfield
Basically, - (void)motionBegan:(UIEventSubtype)motion withEvent:(UIEvent *)event; gets called in my Root View when the device shakes.
When a user taps on the "edit" ico...
I have a multi-target iPhone app which currently includes a header file with constant definitions that are conditionally included at build time depending on which target is being built.
However, I was wondering if it might be better to instead include this information in the info.plist for the build, as this generally holds target-speci...
What is the value of a UITextField when it is empty? I can't seem to get this right.
I've tried (where `phraseBox' it the name of the said UITextField
if(phraseBox.text != @""){
and
if(phraseBox.text != nil){
What am I missing?
...
I have a line of code that will work differently depending on the datatypes "day" and "1". I believe it is the following although I will check my source code later.
day = day + 1;
Does this make sense? What would the differences be?
...
I'm trying to restore iPhone OS 3.1.3 to a 3GS that has been upgraded to iOS 4. iTunes refuses to complete the install. What needs to be done? I am currently using the GM XCode. Should I be using the latest public stable version instead?
Update:
XCode reports that "The baseband cannot be rolled back".
...
What classes am I looking in to? I'd like to allow the user to to "order" something via email in the app. i would like to use a modal view to show an email form which is pre-poulated.
Can someone please explain the process of sending an in-app email like this or refer me to the proper documentation?
...
I'm looking to make my app compatible with older versions of iPhone OS. I did see weak linking mentioned as an option. Can I use OS version detection code to avoid code blocks that the OS can't handle? (Say iAD?)
if(OS >= 4.0){
//set up iADs using "NDA code"...
}
If yes, what goes in place of if(OS >= 4.0)?
...
Hello,
I have previously written an application for Mac OSX that includes a kernel extension. It does not drive any real hardware but is instead an in-kernel IOKit service. Now the task is to figure out if porting of the whole application is possible on the iPad which basically means if kernel extensions can be written for iPad.
I hav...
In my iPhone applcation I've set up a default, blank view called Main View into which various child subviews will be loaded for different parts of the application. It's the same approach as if I was using a tool bar to switch between subviews. That case, in the MainView controller I could hook IBActions to buttons in the toolbar, so that...
I see in the documentation that UISwipeGestureRecognizer is available in Iphone OS 3.2 and later. I was planning to use this to detect swipe gestures in my Application. What would be the consequences of running my application in an older OS say 3.1.3 if I do implement UISwipeGestureRecognizer?
...
Apple's developer website describe 3 types of background services an app can use, music, location and VoIP.
When they describe background location services they talk about 2 types of apps: critical and non-critical apps. A GPS navigation app falls into the 'critical' category, and location based social networks like Gowalla and Loops fa...
I seem to have a bug because I'm using -[AVAudioSession setActive:withFlags:error:] in an iPhone project that is for 3.0 - 4.0.2. So I guess I need to put one of those #IF lines in, so I can get it to do different things based on the OS version... But I can't find out how to do it.
Can anyone help please? Thanks! :)
...
Hi all,
I'm testing our app on a few different platforms, and for some reason the Baskerville font doesn't seem to show on an iPhone 3G running OS 3.1.3. Does anyone know why this might be? The systems I've tested which work okay are:
Simulator
iPhone 3GS, iOS 4.0
iPad, iOS 3.2.1
iPod touch 3rd Gen, iOS 4.0.2
Stumped here!
Thanks.....