iphone

Bundle Identifier

my bundle identifier : com.yourcompany.${PRODUCT_NAME:rfc1034identifier} app Name : World my account name in apple : S111 what's my bundle identifier for insert into itunesConnect for upload app? company name means "Organization Name" that exist in (Info->build) or means apple id ? ...

Rename the app in iphone

I have almost finished my iPhone app, but want to rename it as I don't like the name I chose in the beginning. Is this easy to do, and if so, how do I do it? ...

get coordinates on tap in iphone application.

Hi, I am create a iphone Mapkit application. I want to get the coordinates where the user has tapped on the map screen. Best Regards, Naveed Rafi ...

splash (launch image) in landscape mode?

I am developing a game which works only in landscape mode. When I import a launch image (Default.png) into my xcode proj and run it, the image appears in portrait mode and then the view starts in landscape mode. How can I make my splash/launch image be displayed in landscape mode only? ...

Is Apple's current Reachability class backwards-compatible with iOS 3.1?

I'm implementing Apple's Reachibility class into my application. The app's base SDK is iOS 4.0, and its deployment target is iOS 3.1. I do not have a 3.1 device to test with, so can anyone tell me if it is backwards compatible? The documents for Reachability say that iOS 4.0 is required, so if it does indeed need a minimum of 4.0, how c...

core-plot - refresh graph dynamically + iPad

Hi guys. i have a have graphview.m which creates a coreplotviewcontroller.view in this way CorePlotViewController *aCorePlotViewController = [[CorePlotViewController alloc] initWithNibName:@"CorePlotViewController" bundle:nil]; aCorePlotViewController.view.bounds = CGRectMake(0,0,896,605); aCorePlotViewController.view.cen...

Does apple provides any API or something to access the camera, like facetime?

Hi, everyone, I want to ask a question about the apple API. Does apple provide some APIs for the developer to access the Facetime function, just like the ABPerson can access the address book. Thank you very much. ...

support iphone,ipad,android

Hi folks. develop android apps that should support iphone,ipad,android.is there any way for developing this kind of generic app or we need to develop aps depending on mobile os ...

BSD lincese-like music repository?

I am developing an iPhone game and is sourcing for some in-game background music. It's a puzzle game and so music for meditation or yoga are probably suitable too. So my question is where to look for such open source-like music repository, just like source code on github and artworks on deviantart ... ? Thanks! ...

iphone add local access

if I download a html from my web server can i use an image in my iphone app's resource folder as background? ...

Capturing PDF pages as Image

Hi iDevs, I want to capture PDF pages as Images, To do so i am drawing PDF over UIView using CGContextDrawPDFPage method. then capturing image by implementing following code: UIGraphicsBeginImageContext(view.bounds.size); [objPdfPage.layer renderInContext:UIGraphicsGetCurrentContext()]; UIImage *viewImage = UIGraphicsGetImageFromCurren...

iPhone, Japanese script

Can the iPhone default system font display Japanese script? I have an iPhone which compiles correctly and then localizes and displays correctly in the simulator (English, Japanese and Thai!). It runs fine in English and Thai on my iTouch but hangs when I change the language setting to Japanese. I can display Japanese script correctly wh...

iPhone 4 nib sizes

I want to do an iPhone 4 only app that uses the iAd AdBannerView. When I add this it has a fixed size of 320x50. How does this work with the higher resolution? Can someone explain how the higher resolution of the iPhone4 vs the previous devices work in relation to UIView's in xib files. Do I create the UIView with the higher resolution ...

JSON validation error

[[["您好世界","Hello world","N n h o sh ji "]],,"en"] this is json object: contentOfResponseDataInJsonValue I want to get 你好世界. How do it ? NSString *returnStr=[[[[contentOfResponseDataInJsonValue JSONValue] objectAtIndex:0] objectAtIndex:0] objectAtIndex:0] ; do this ,error: JSONValue failed. Error trace is: ( "Error D...

iphone capturing image to document

CGImageRef screen = UIGetScreenImage(); UIImage* image = [UIImage imageWithCGImage:screen]; CGImageRelease(screen); // You could, e.g., save the captured image to photo album UIImageWriteToSavedPhotosAlbum(image, self, @selector(image:didFinishSavingWithError:contextInfo:), nil); (void)image:(UIImage *)image didFinishSavingWithError:...

changing the tint color of navigation bar changes the size of the view

I have a tabbar based application in which the controller of each tabbar item is navigation controller. on the navigation controller I have an image view(added by the code) starting just below the navigation bar. The problem is when i changes the tint color of the navigation bar as self.navigationController.navigationBar.tintColor = [UI...

Iphone SOAP request step by step tutorial

I've been looking here for some answers to this question and have found some resources but not really found the "spot on" tutorial. So i would be grateful for any posts of tutorials on howto get SOAP working in an iphone app. I have seen that it can be done using NSURLconnection. But as I am pretty new to Objective C programming i wo...

How to measure distance between two iphone devices using bluetooth?

Hi, Everyone, I'd like to do something in the following using bluetooth. Measure and display how far my iPhone is from another iPhone. Display direction of my iPhone. For example, I'd like to display something in the following on my iPhone application. My iPhone is connected to another iPhone:Harry's iPhone. In this case, Dist...

I try to use setReturnsDistinctResults to get distinct results with Core Data but can't make it work properly

I've an Core Data entity called "Themes" with 4 properties. One of them is called "name". This property is not unique. I would like to retrieve a list of all the names contained in the data. It seems that I need to use the setReturnesDistinctResults:YES option of the fetch request but I can't make it work. Is there anything wrong in the...

Which method is called by default while the application open every time?

i have done the small animation in my first view.I called it in viewDidLoad method.If i close and open the application,i couldnt see the animation because the view was already loaded in to the memory.So i want the method that will call every time while application starts without run. Help me ...