iphone

iphone memory usuage

is there a way to nslog how much memory your application is currently using? ...

HElp for Https???

i want to send request on Https so do i need to install the SSL certificate as the steps are given for apple push notification please help me i am new and i have never worked on OpenSSL ...

i want some link from where i can download the iphone sdk 3.1 .

can any one provide me the link from where i can download the iphone sdk 3 or 3.1. ...

Closing database when using a wrapper in iPhone SDK

Hey guys I am using http://th30z.netsons.org/2008/11/objective-c-sqlite-wrapper/ wrapper for my iPhone Application. How do I close my database when applicationWillTerminate with the help of this wrapper? Thanks in advance. ...

How to implement iPhone TitleBar in Android

You know in iPhone, The four components of a typical iPhone application are a title bar, a navigation list, a destination page, and a button bar. for The Title Bar The title bar includes the following elements: Back button: Screen title: Command button: My question comes, although i can use UI framework tool, such as: Phonegap...

Moving a sprite around the circumference of a circle in Cocos2d-iPhone

I am new to Cocos2d. I have taken a look at the documentation at it looks pretty simple compared to what you need to do using basic Iphone classes such as UIAnimation etc. I want to move a Sprite (eg. Bird, Plane or Car) around the center of a circle around its circumference, smoothly so that even the sprite rotates accordingly. How i...

How do I find what text/HTML is on screen in a UIWebview?

I would like to know what the first piece of text/html that is currently showing on screen, or more generally where in pixel location a particular tag or piece of text is in the UIWebview. I know that I can use window.pageYOffset to get the scroll position of the UIwebview, but how do I find out what text or HTML item is there? ...

question regarding UIDeviceRGB

* -[UIDeviceRGBColor size]: unrecognized selector sent to instance 0x3467e0 I don't know what to do for this error plz tell me how to resolve this exception I even do not understand the meaning of UIDeviceRGBColour ...

iPhone NSTimer OpenGL problem

I've got a problem that only seems to occur on the device, not in the simulator. My app's animation is started and stopped using these methods: NSTimer* animationTimer; -(void)startAnimation { if(animationTimer == nil) animationTimer = [NSTimer scheduledTimerWithTimeInterval:1.0f/60.0f target:self selector:@selector(drawVi...

Remove the cell highlight color of uitableview iphone sdk

Hi all, I want to remove the default blue color of uitableview cell selection. I dont want any selection color there. I have not created a custom cell class. I'm customizing the cell by adding labels and buttons over it. I tried doing cell.selectioncolor=[UIColor clearcolor]; but it says that this method is deprecated. Can...

UIScrollView issue with autorotation and content scaling

Hi, I'm building a new (autorotating) iPad app that consists mainly of a screen sized UIScrollView that contains an UIImageView for an image which is 5 times the iPad screen resolution while in portrait mode (3840x1024). What I haven't been able to accomplish is that whenever the device rotates (to whichever orientation) the imageView ...

how to include ZXing in iphone project

Hi All, I have downloaded ZXing 1.5 and am trying to include this in my iPhone project. I have got the Barcode iphone project provided by Zxing to build on its own (And i can offer advice n this if any one is stuck) But i am unsure how i would now incorporate this project into mine? Which classes are needed? What linking paths are...

showing current location ,along with another location in iphone

hellow all, whenever we load a mapview ,it automaticallay shows the current user location right. In my case i am showing another location on map ,such that the map loads the current location and zoomed to the location i have given .. but, the current location point was not showing (the blue one which comes automaticay..). i have given ma...

Updating UILabel and UIButton immediately

Hi, In a project, I change a UILabel's text with setText, a UIButton's color and after that do a time consuming calculation, followed by an animation. However, the text's and color's change is reflected after the calculation is executed (and before the animation begins) however I want to reflect the changes immediately before calculatio...

How to tell whether on sub-view's is above another sub-view?

Assume there are 3 sub-views (A, B, C) in a view. After a few rounds of random bringSubviewToFront and sendSubviewToBack on A, B, or C , how can I tell whether one sub-view (e.g. A) is on top of another sub-view (e.g. C)? Whether they overlap each other is not required information. Thanks! ...

UITableView performance degrading after adding subviews on cell iphone sdk

Hi all, In my application, I'm adding a label and two buttons on cell of UItableView [I have not created a separate cell class]. I'm adding these to cell and not cell.contentview. After I run my application on IPhone, the tableview cell rendering after I move the cells up-down, is very jerky. Is it because I'm not adding the views on ce...

Custom UITableView Issues

Hi, I have one UITableView which I want to have three sections - all of which are made up of custom cells. The first section needs to be the normal cell height and width, but the second section (with the Tweets, Followers etc.) I want to fit two rows in one row like in the second section in the image below. I've tried changing the widt...

Image Cropper similiar to Pastebot or Photoshop mobile for iPhone

How do you create a slightly dimmed overlay with a moveable transparent rectangle to represent the cropping area? It is basically cutting out a rectangle from the dimmed area. ...

How to get the key for a given object from an NSMutableDictionary?

I have an object which is in an big NSMutableDictionary, and need to find out which key this has. So I want to look up that "table" from both columns. Not only with keys, but also with objects (to get keys). Is that possible? ...

Safe way of iterating over an array or dictionary and deleting entries?

I've heard that it is a bad idea to do something like this. But I am sure there is some rule of thumb which can help to get that right. When I iterate over an NSMutableDictionary or NSMutableArray often I need to get rid of entries. Typical case: You iterate over it, and compare the entry against something. Sometimes the result is "don'...