I want to use iPhone SDK to implement a bluetooth connection between two iPhones, but I don't find any bluetooth API in iPhone SDK 3.0. Can anybody help me? Thanks.
BTW: Is it possible to connect more than two iPhones at the same time by using bluetooth?
...
I'm making an small game for iPhone in openGL.
First I removed the "status bar" by writting
[[UIApplication sharedApplication] setStatusBarHidden:YES];
Which worked, but only removed the status bar when my app began to run. Then I modified my project.plist
<key>UIStatusBarHidden</key>
<true/>
And now the status bar is never show,...
Alright I am having a world of difficulty tracking down this memory leak. When running this script I do not see any memory leaking, but my objectalloc is climbing. Instruments points to CGBitmapContextCreateImage > create_bitmap_data_provider > malloc, this takes up 60% of my objectalloc.
This code is called several times with a NSTim...
How to draw rectangle something like this in iphone sdk using core graphics
...
hi,
i tried to insert a mail tool in my app.... my app is based on the cocos2d engine
the Toolbar (at the top ->cancel,send...) is visible but i can't see the other parts of the mfMailComposerViewController view :-(
code:
-(void)displayComposerSheet
{
MFMailComposeViewController *picker = [[MFMailComposeViewController alloc] i...
Hello all,
Does anyone know of a way to disable user interaction on a single wheel in a multi-wheel UIPickerView control?
...
Hi,
I have a list of images shown in a horizontal scroll view with "flip between" option. This scroll view is inside an tab bar.
My requirement is like, when i tap on that image it should rotate 90 degree to horizontal and be shown in fullscreen with animation. This is similar to what we have in default "Photos" application in iphone, ...
Using the iPhone SDK, how would I go about creating a red "delete" button similar to the one used when deleting contacts on the iPhone?
Screenshot (I'm trying to duplicate the red button at the bottom)
Thanks!
...
Is there a way to move a path on screen by (x,y) pixels using directly a CGPathRef instead of walking through its points and lines again in drawRect method? I want to be reusing my old CGPathRef when I want to move it on screen instead of recreating it with new pixels.
...
I'm using the MPMusicPlayerController application music player, created like:
appMusicPlayer = [MPMusicPlayerController applicationMusicPlayer];
The issue is that it will play music no matter which setting the device mute switch is in, it doesn't seem to care either way. Is there some audio session mode I need to be in to have it resp...
I have a navigation controller, the rootviewcontroller is a tableview, which will show all file names, when user click the file, will show the file content in contentviewer. User can go back use navigation bar.
The problem is sometimes user use navigation bar go back. The app crashed. say exe-bad-access at cellForRowatIndex this line:
...
I have an application with a tab bar controller and a navigation controller. In one of the child content views of the navigation controller, I have a image view at the top and some buttons at the bottom. The problem is that the navigation bar obscures the top portion of the image view. My content view is loaded from a NIB file and the im...
I am building an iPhone app that will be submitted to the App Store. I am a bit confused about Development and Distribution certificates that you get from Apple.
Do I need to install both? Why are both needed?
Does this mean that when I am ready to distribute that I need to sign the app with the Distribution certificate and when i a...
How could I do the attach effect, when you select the Send by Mail option in Photos App, that when the background turns dark, the mail app is open and the image is attached to the mail body.
...
I've created an app, that is self-explanatory. What is the etiquette in the iPhone world: do I still need to have an About button that explains what the app does, website, email, all that? Or is that unnecessary?
...
I am having a problem that just started happening in OS 3.1.
I have a UITextField in a custom UITableViewCell. In didRotateFromInterfaceOrientation, I call reloadData to reload the tableview to resize the cells.
The problem that is happening is: If you are editing text in that UITextField and have the keyboard up, then rotate the pho...
I have a UIImageView. I get a UIImage from a URL. The image displays in the UIImageView, but I can't get it to center correctly. The UIImage is 80 x 68 pixels. The UIImaveView's size is 90 x 90. When I display the UIImage in the UIImageView the UIImage is shrunken so that it fits, although it is already smaller than the UIImageView....
i am getting following errors.
I have already added libxml2.dylib to my project, how ever i am getting this type of trouble.
Plz any body help me.
...
I am ready for distribute for my first iphone app in app store. I am an individual developer.I want to confirm from any experience individual developer who already distribute app in app store.
The question is i donot want to myself real name appear in my app. can i have another display name w instead of my real name appear with my app.
...
I mean, if I have an object and I apply 3 transforms to it, for example, suppose I don't know what each transform is doing, but I have the matrices.
So, I have
Object X > transform1 > transform2 > transform3 > final result
is there a way to obtain an Affine Transform that can represent the 3 transforms, so I can obtain the same resul...