How can we add an icon for a finished iPhone application?
Simply giving an image in the project folder will solve my problem ?
Can anyone please help me!
Stack overflow
I want to make a universal version of my app available, but I am wondering how is data managed between the iPad and the iPhone versions?
-Are they completely independent? or if I have a plist in the iPad app, does it also appear in the iPhone app. If so, is there any syncing etc etc.
I have a few months experience with single iPad or iPhone apps, but never a universal.
Thanks again.
I need to do something similar, where an animation highlights the text of a button to show that it must be slided to do something. Just like that unlock thing on the iPhone. How is that done? Is there a tutorial how to achieve this effect?
Hi i am developing an app for my QA department. I need to programically get how many phone numbers are there in the entire address book. No user input. Just click a button and then get how many phonenumbers are there in the ENTIRE addressbook.
Please email me at [email protected]
Hi,
I am using
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation{ return YES; }
to allow rotation, which works fine - except that the landscape view jumps backwards up the page that is being displayed. I can't figure out what I should be looking at to fix it. I just want the page to rotate where it is.
Any pointers would be great. Am a noob, as is probably clear.
Thanks
Jonathan
Hello,
I've used a familiar code to convert image to Black & White which I've founded on several forums.
The code is:
CGColorSpaceRef colorSapce = CGColorSpaceCreateDeviceGray();
CGContextRef context = CGBitmapContextCreate(nil, originalImage.size.width, originalImage.size.height, 8, originalImage.size.width, colorSapce, kCGImageAlphaNone);
CGContextSetInterpolationQuality(context, kCGInterpolationHigh);
CGContextSetShouldAntialias(context, NO);
CGContextDrawImage(context, CGRectMake(0, 0, originalImage.size.width, originalImage.size.height), [originalImage CGImage]);
CGImageRef bwImage = CGBitmapContextCreateImage(context);
CGContextRelease(context);
CGColorSpaceRelease(colorSapce);
UIImage *resultImage = [UIImage imageWithCGImage:bwImage]; // This is result B/W image.
CGImageRelease(bwImage);
return resultImage;
When I'm using this code with on Horizontal image it's work fine,
but when I'm trying a to use this code on Vertical image, the result is
disproportionate image and rotate 90 degree left.
Can anyone know what could be the problem?
Thanks,
Kfir.
How to produce an iphone app which calculates the battery status? Is there a particular API that i need to use?
Has anyone got a link to any online tutorials?
hi,
I'm trying to check if a given URL is valid and i'm doing it like this:
- (BOOL)urlIsValid:(NSString *)address {
NSURL *testURL = [NSURL URLWithString:address];
if (testURL == nil) {
return NO;
}
else {
return YES;
}
}
Since "URLWithString" is supposed to return "nil" if the URL is malformed I thought this would work but it doesn't for some reason. Could someone please tell me why?
Thanks in advance!
I want to pack my big database with iphone app and I don't want to copy a database from resource path to document directory for readonly problem. It's have other way to pack database to document directory or remove database from resource path after copy.
Thanks.
Hi All,
I found this implementation, and i am not sure whether we can use this implementation and apple will bye-pass extra check, this is a base-64 implementation.
The source code link is
http://blog.objectgraph.com/wp-content/uploads/2010/04/CryptTest.zip
The web page link is : http://blog.objectgraph.com/index.php/2010/04/20/encrypting-decrypting-base64-encode-decode-in-iphone-objective-c/
Kindly advice me friends.
hi all friends,
I am new to cocos2d animations and I want to learn it , as always I stops at the point of animation while making iPhone games in cocos2d.
Can any one suggest me the way to learn such animations, so that games animation creating will become easy to make.
Thanks.
I use AVAudioPlayer to play an mp3 file to a user within my iPhone app. This all works fine and dandy. I even update a PLAY/PAUSED button depending on the state of the player. But it would be nice to know how much longer the song will play.
So How do I show the time remaining?
hi..
i am using UIviewcontroller subclasses. In my main view i have 3 buttons, each button will load a different nib. and each new nib is having one back button to come back to main view.
when i click one the back button of any view to move to the main view the dealloc of that view is not getting called? i didnt understood this.
can anyone explain when those views dealloc will be called?
I know that on 3.0 there is a confirmation alert.
I know that on 3.1 there is NOT a confirmation alert.
How it is on 3.0.1?
Is there some docs about it?
Maybe someone can check on their iPhone? (On 3.0.1 of course)
thanks
I call:
[[ UIApplication sharedApplication ] setIdleTimerDisabled: YES ]
on the applicationDidFinishLaunching event.. I set a breakpoint on it, which fires so I know it's getting called.. I've also called this function in other places as well.. Basically, a 3G iPhone will still go into sleep mode, but my 3GS won't. Has anyone seen this behavior before? Both are running the latest OS versions.
Thanks for reading!
Simply, I would like to have an iPhone app that logs in to a web server with inputted username and password values and then maintains this login, so that the user can POST data to the server.
Is this just an issue of using cookies? If so, how do you perform a check to verify the user is logged in?
Thanks.
I'm trying to do some proximity detection of iPhones but I need to get their Bluetooth MAC address programmatically. Does anyone knows how ?
I assume Bluetooth is activated but no device is paired with the iPhone.
E.g. When you download pdf on the browser (PC) hit starts the Adobe acrobat..similarly...can any app find another app is installed or not..and if its installed...can it start?
on iphone..when you click on a HTTP link from an app it starts browser automatically..similar..
I've seen several questions/answers related to entirely creating a button in code, but not one which would let me know how to change the button image in code, when I originally added the button to my NIB in Interface Builder. I know how to change the background in Interface Builder.. but I want to change it in code, so I can change it automagically. Any help really appreciated!
Perhaps the answer is so obvious nobody needs to ask.. if so please forgive the dweeb that I am and help! :-)
How do you sketch out your iPhone App designs and ideas? I am currently about to start my next project and want to find a way to get my ideas on screen instead of good old fashioned paper.
I'm doing an application who can play podcasts, but i feel more comfortable is the iphone default podcast application plays itself, instead of me having to handle them.
Passing the url to the sharedApplication object , safari opens and starts playing it .. but i'd like to skip the user seeing safari .. is there any way ?
Thanks.
Hello Everybody,
i'm using the UIAddressBook interface to create a new Contact in my App. The problem is, that if the iPhone / Touch / Simulator is in German the UI is Englisch,
has someone an idea?
Greetings Fil
TheAutoConfig URL says to run the script in the directory that contains your package's configure script,what that directory means?anybody has experienced this to execute the script?and also how can we extract tar file through that?