iphone

is there any way to make synchronise our application to another app in iphone ?

hi is there any way by which we can make our app communicate with another app installed on the iphone by urlscheme or any other way !!! sample code will be much help ful !!! Thanks ...

app quits on launch

Hi, I just posted an update of my app to AppStore. It was approved by Apple. It has been tested on 2 iphone devices (3G - 3GS with 3.1.2). It worked fine but when downloaded from AppStore it doesn't launch, just displayed the default screen and returned to iphone menu. I have no idea where to look. Any help will be greatly appreciated. ...

Export CGPath as JPG or PNG

Is it possible to take a path draw in an UIView with CGPath and export it as a PNG? ...

What to replace a UIButton to improve frame rate?

Hi, I created a minesweeper clone game and I made a 30 x 30 grid of cells. Now in my initialize design, I planned to use UIButton for each cell so that I can use its touchDown and touchUpInside. But my problem is using UIButton makes the game slow in zooming and especially in loading or adding each cell(900 pcs) in a UIView. Now I'm p...

How do I get a Row count from a UITableView

I have a tableview I'd like to customize based on how many rows it has. If it has no rows, I'd like the background image to prompt the user to add content. If it has 1 or more rows, I'd like it to have a different background image, in order to display the content. I'm using a fetched results controller to populate my tableview, by the ...

Available audio codecs for SDK 3.0

OK. If one uses the System Sounds Services for iPhone sound effects, there is no way to alter the level of the resulting sounds programmatically. Even worse, if one reduces the volume using the ringer volume control on the side of the iPhone to a very low level, then starts the app, the sound effects will be inaudible. On the other hand,...

initWithContentsOfURL leaks memory within NSOperation subclass. Anyone else seeing this?

I have been living on Instruments for last few hours staring at a puzzling memory leak. I have isolated it to this single line of code in an NSOperation subclass I wrote: NSData *myData = [[NSData alloc] initWithContentsOfURL:[NSURL URLWithString:myURLString]]; Periodically this will leak 3500 bytes. Is anyone else seeing this? If so,...

Mac version control with merge and support

I'm using a trial of Cornerstone and like the product but don't like the fact they have no support. Meaning, they never answer their email. I need a source control program that can handle merging through Subversion. Specifically, merging from a branch back into trunk. Cornerstone doesn't and from what I've read Versions doesn't eithe...

iPhone - Volume/Mute Buttons

What class is referenced in the volume/mute button popup? Sorry for the awful question but I can't seem to find it anywhere. ...

Tableview and uinavgation controller problem

Hi, In my application, I am using UITableView. Now I can change the size of the table view as whatever I want. But If I add one UINavingationCotroller with that table view controller, the size of the table view will be changed to full screen automatically. But I want the table view size should be at the old custom size. Please check m...

PushViewController now crashes

In some working code, I had a call to PushViewController, which loaded (successfully) a new view from an xib. I went into the XIB and added a couple of buttons. Retried the code, and the view continued to be displayed at the appropriate point in the code. I then deleted those buttons, and since that point, the code no longer works. It ...

How to put public comment blog using facebook in iphone application?

I am a new in a iphone application development i have a required to publish a wall using a facebook connectivity so that user can write a comment on that wall so how to provide this kind of functionality. ...

What's easier to encrypt on iPhone: Core Data or Property Lists?

What type of persistent data storage would be easier to encrypt on the iPhone- core data, or property lists? By "easier" I mean require less time and complicated steps to implement. ...

Can i give alignment in the picker view's data?

i am new in the iphone application development.i want to provide the Alignment in the content of picker view so how it is possible.i want to provide "centre" alignment. ...

My value in UITableview is repeated after 11th row in objective-c.

I an getting same value in my tableview after the 11 row. after the 11th row again the name of row start as first row. ...

How to change background color of the textfield in iphone?

I want to change the background color of the textfield to something which is transparent. I have tried option5btn.backgroundColor = [UIColor grayColor]; But I want some other color. Can anyone tell me which all colors can be used in the iphone textfield's background. Can anyone help me with this. ...

Handling touch detection in iPhone with C++?

I'm working on a game for the iPhone, for several reasons most of the code is in C++. I need to write a TouchesManager for my Game, I know about the methods touchesBegan: touchesEnded: and touchesMoved: I would really like to make a manager in C++ so I can subscribe some classes to this manager, so they can handle touch events in my Gam...

NSString Caching Problem

Hello, i have got a Problem with Caching data. My last Post was closed, because i have made something wrong. (Dont know yet,..but does not matter) I get Content with InitwithContentURL,and i receive this String every 10 Seconds, but often it loads something, which looks like "caching". This is the function: NSURL *xmlURL=[NSURL URLWit...

Zooming out for the first time in UIScrollView is not smooth

Hi, I created UIScrollView and added UIView with lots of tiled UIButtons in the UIView. My problem is, when every time I zoom out the content using zoomToRect method of UIScrollView to the minimum scale I set, the zooming out is not smooth. But zoom-in and zoom-out for the second time is smooth. How can I make the zooming out for the fi...

How to add a rounded rectangle shape (or Box) in iphone interface?

I want to add a rounded rectangle shape in iphone interface but the iphone library doesn't have that object. How do i do it? ...