0

iPhone Battery Life Increased by 12 Times

http://www.iphonedevsdk.com

A PhD Student Manages To Increase iPhone Battery Life By 12x Read More: A PhD Student Manages To Increase iPhone Battery Life By 12x

Read more »
0

Can I manually call shouldAutorotateToInterfaceOrientation?

http://www.iphonedevsdk.com

For short question, as the topic state, will there be any harm from calling shouldAutorotateToInterfaceOrientation manually? Like: Code: [self shouldAutorotateToInterfaceOrientation:[UIDevice currentDevice].orientation]; Now, for long and detailed one. What I'm try to achieve here is something like this. I have one main view which is able to rotate from portrait to landscape according to the device's orientation, and since the default auto rotation behavior doesn't fit my need, I've imple

Read more »
0

Turning iPhone screen off or sleep

http://www.iphonedevsdk.com

Hi, how can i turn the iphone screen off or to make it sleep programaticly from the app?

Read more »
1

Recover Private Key from Hard Drive

http://www.iphonedevsdk.com

My MacBook that I used for development died. I did not have a backup of my key that was generated when I created my first CSR (I WILL do that this time). I bought a new MacBook and have been able to mount the drive from my original MacBook to my new MacBook. How can I get to the private key in a form that I can import into my new MacBook? -Darrell

Read more »
1

App Icon shows in Simulator but not on phone...

http://www.iphonedevsdk.com

Is this normal until an app is on the store, or am I doing something wrong?

Read more »
1

Disabling a UIToolBar button

http://www.iphonedevsdk.com

I have a uitoolbar with 2 buttons on it. Is there a way to disable a toolbar button?

Read more »
1

TableViews and TabViews

http://www.iphonedevsdk.com

Well, I am having a small problem just getting my head around, I would say design. I am already coding using a particular approach, but I am stuck at one place, and that old nagging feeling of there must be a better way than I am doing it. So my app starts with a TableView with a Nav controller. In the Nav there is the "add" button with the plus sign. You click it, it goes to a view to enter in a name. You enter and now it shows up in my TableView. You click the new entry and it should go to

Read more »
1

NSUserDefaults first-time usage

http://www.iphonedevsdk.com

Dear all, I am planning on using NSUserDefaults to store my application configuration. I have the following questions - 1. When my application is run I want to check if the user defaults file/db exists. Is there an API to do this? 2. What the best place to call in the code to invoke the saving of the settings on application exit. Any help will be greatly appreciated? Cheers MB

Read more »
0

NSURLConnection Leaking?

http://www.iphonedevsdk.com

I'm using the following code to call a php script on my server Code: NSURL *url = [NSURL urlWithString:[urlString stringByAddingPercentEscapesUsingEncoding: NSUTF8StringEncoding]]; NSURLRequest *aRequest = [NSURLRequest requestWithURL:url]; NSURLConnection *conn = [NSURLConnection connectionWithRequest:aRequest delegate:nil]; I'd assume that all of these objects are autoreleased, wouldn't you? However, when I run the Leaks tool on the device, I get leaks when I call this. See attached ima

Read more »
0

completely disable screen

http://www.iphonedevsdk.com

[user InteractionEnabled:NO]; is fine for freezing screen, but when you press a button when screen interaction disabled - when you re enable it it acts as if the button had been pressed (dire consequences for my code) is there any way to not respond to user touches, and freeze the screen thankyou :)

Read more »
0

C functions - implicit declarations

http://www.iphonedevsdk.com

Hi, when running sleep(1), write(fd, lol,100) etc - i get these errors: secret.c:924: warning: implicit declaration of function 'sleep' secret.c:924: warning: nested extern declaration of 'sleep' the header files are #import'ed and when i compile just the C source it works fine... do you know whats happening? thanks

Read more »
0

Copy Protection on the iphone

http://www.iphonedevsdk.com

So there's lots of piracy problems but is there anyway to combat it from the developer side? What kind of information do you get from apple about purchases? How recent is it? The moment somebody clicks buy can you get a notification? Do you get a list of apple user ID's that have bought your app? I don't really want to ban anybody who's got a jailbroken iphone as there's imho legitimate reasons for having one. What ideas are out there?

Read more »
0

Multiple sounds played at the same time

http://www.iphonedevsdk.com

Hi, I want to be able to play between 5 and 20 sounds at the same time... My Code works fine with upto 6 at a time, but when I add the 7th to play, it just keeps playing the same sound over and over again until I have to manually crash my ipod. I'm using: AudioServicesPlaySystemSound to play the sounds in a loop...is there a limit to how many sounds can be played together, or do I need to use a different framework? Thanks Chris

Read more »
0

iPhone App Developer HELP NEEDED!

http://www.iphonedevsdk.com

I would love to see my idea come to life but don't know how! Or how much it would cost! I am VERY confident I have a "seller" to all types of iPhone users. So I guess I'm looking for freelance developers to email me rates, how much time the average App takes to create and what Apps you have developed. Thanks, Steve

Read more »
0

Dynamicaly creating NIB defined UIs

http://www.iphonedevsdk.com

Hi, I've been looking far too long for this, so I have to ask. I am making a game with the title screen, game screen, etc as different UIViews, with customized drawRect (to add some background animations) I want to use the stock UI, as they are easier to deal with when rotating the screen than rolling out my own orientation aware UI. I have create a title and a setting screen in IB and what I want to do is create the views at runtime, but using [[alloc]initWithFrame:] doesn't load th

Read more »
0

Developer needed for 2 simple Apps

http://www.iphonedevsdk.com

Looking for a developer for 2 simple I-phone applications. First App would be a reference application (no data entry or internet access). Second app would be like a quiz or survey with pre-set answers. Neither application involves internet\wireless features. I can provide more details to anyone interested. Contact me at bruce35dc@comcast.net

Read more »
0

ApplicationVerificationFailed Error

http://www.iphonedevsdk.com

Hey everyone, I am getting a strange error that is really frustrating me and am hoping to find the solution here. This error is occurring any time I try to test an application on my iphone (2.2). For the record, I am signed up as a developer, and as far as I know all certificates and provisioning profiles have been installed correctly. The HelloWorld XCode project runs perfectly fine in the simulator, but whenever I attempt to test on my device, it appears to compile correctly, but when it at

Read more »
0

Are you allowed to use google API in an app?

http://www.iphonedevsdk.com

I want to use the google translate API in an iPhone app. I already see that some apps on the store charges for 0.99 that uses it. However I looked over the terms on google and it seems like this is prohibited? Google AJAX API Terms of Use - Google AJAX Language API - Google Code 1.3 Appropriate Conduct and Prohibited Uses. The Service may be used only for services that are accessible to your end users without charge. Any ideas?

Read more »
0

NSTimer in label

http://www.iphonedevsdk.com

Hey guys. I can't seem to work this one out at all. I've set up an NSTimer like this: Code: NSTimer *time = [NSTimer scheduledTimerWithTimeInterval:1.0 target:self selector:@selector(onTimer) userInfo:nil repeats:YES]; I have a label called timeLeft. I want it to count to down from 30 seconds to zero using the NSTimer. I can't figure out how to get the value of the NSTimer however. I have a variable int countdown set up to store the value but I can;t figure out how to retrieve it.

Read more »
0

UITableView tiled background oddities

http://www.iphonedevsdk.com

Hello folks, and congratulations for the good community you have here. I am using a tableview for which I am trying to mimic the look of a notebook (as in spiral notebook, office supply). To give the app a natural look, I am creating my own background images in photoshop. To set the background of the table I did this: PHP Code: - (void)loadView { [super loadView]; self.tableView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"notebook-table-ba

Read more »

User login

Syndicate

Syndicate content

Who's online

There are currently 0 users and 7 guests online.