iphone

Java RSA decryption did not work for the data decrypted with its public key in IPhone

Hi I have created my rsa public key in java and send to my friend. My friend is using IPhone, he encrypted data with that key and send me the decrypted data then I decrypted the data with my private key. But I am getting errors for Bad Padding. I and my friend both did not use any padding explicitly for RSA. Thanks Bapi ...

One instance across multiple views

I was wondering how I would go about accessing one instance of a class, say "ship class" across multiple views. Lets say I have a rootViewController and three subviews, one Main, one battle, and one landing. Where exactly would I implement an instance of a class that stores all the information on my ship and access it though the other v...

follow up email response to app rejection - iphone

Was wondering what is the correct protocal for responding to an app rejection follow up through email. I've included my response with my argument that states their "reasons" for rejection are wrong via email. I also made sure that i made the necessary changes to the app, to 1) ensure there are no more bugs and 2)make sure it's 3.0 compl...

iphone development

Hello,I am still new in objective-c. I want to create an application on iphone in which I take a data from XML using NSXMLParser. so when I start the application It will read the XML and data are coming from that,but in between in running appliaction if the XML is updated then how can my application know about it and get that refreash da...

How can I tell if my viewcontroller is visible and accepting events?

I have a view that I tell to update when its data changes. But sometimes the data changes when the view isn't visible. So how can I detect that the viewcontroller is visible and accepting events? I could add a boolean that is changed in viewWillAppear and viewWillDisappear, but it seems like there ought to be a way to detect the state di...

how to add a button without using custom cell on a UITableView?

how do i add a custom button on a UITableViewCell ANd Then delete The Cell With That Button Without Using Interface Builder And Custom Cell? the data is loaded from the database.. plz someone help me ...

how can i configur AD Hoc distribution for a iphone application?

how can i create AD Hoc distribution for my iphone product. ...

Loading a view on a background thread

Is it possible to load a view on a background thread? I am using buffering to render views into a buffer off screen so they can be scrolled into view later. I want to make the UI more response and it seems to be the off screen buffering that is the culprit, and am wondering if I can load up the buffered view on a background thread as I ...

String length with given font to fit UITextView

I need to move text that the user has entered into a large multi-line UITextView into a smaller (but still multi-line) UITextView*. If the user has entered more text than will display in the smaller view, I want to truncate the text so that it fits with all the (truncated) text visible. (Neither the large UITextView nor the smaller one s...

Having trouble adding objects to NSMutableArray in Objective C.

I am using the iPhone SDK and have an issue doing something simple. I am trying to add an NSNumber object to an NSMutableArray instance variable. I tried adding NSNumber card to NSMutableArray viewedCardsArray, however without breaking, it does not get added to the array. Here is the code. //////////////////////////////////////////////...

After masking Image looks blur

Hi to all, I am developing one game where I want to magnify the image where magnifier image is placed. For that I am using the concept of masking. After masking I am zooming the image but looks blur. And I want image should be clearer like we r looking through rifle magnifier. So if any one have solution then kindly reply ...

Is there any good overview graphic of standard view heights in iPhone OS?

I'm often running into the problem, that I don't know how much space I have to place a view. There's 20 units reserved for the status bar. How about tab bar, navigation bar, etc.? Sure I can look that up, but is there any good graphic on the net that shows all those heigths? Let us know! ...

How can I rotate an UIImageView by 20 degrees?

What do I have to do, if I need to rotate an UIImageView? I have an image which I want to rotate by 20 degrees. The Apple Docs talk about an transformation Matrix, but that sounds incredible difficult. Are there any helpful methods or functions to achieve that? ...

Is it important to design iPhone App layouts flexible?

I am wondering if I would run into troubles when setting the heights of my views in the neb with fixed values. Example: The height of the Status Bar is known. It's 20 units. So when making a view that shows an nice interface, what would happen when the user takes a phone call while using the App, and the Status Bar increases in height? ...

profile doesn't match application identifier

I have just created a AdHoc distribution provisioning profile for the app id 49776ZQRBG.com.gfeed.ride I have the Bundle ID in the info.plist set to this, yet this provisining profile in the project settings is greyed out and states "profile doesn't match application identifier '49776ZQRBG.com.gfeed.ride'" If I look at the profile in t...

Reading a plist utf-8 value as utf-16

I'm working on an iphone app that needs to display superscripts and subscripts. I'm using a picker to read in data from a plist but the unicode values aren't being displayed corretly in the pickerview. Subscripts and superscripts are not being recognized. I'm assuming this is due to the encoding of the plist as utf-8, so the question ...

Do I need a protocol for notification?

I have classDownload that uses NSURLConnection. I'd like to keep all of the NSURLConnection events in classDownload. ClassA wants to use classDownload but also receive notifications such as connectionDidFinishLoading, which is called Finish in classDownload. How do I get the notifications from classDownload over to ClassA? ...

Retreiving Carrier Name from iPhone Programmatically

Is there a way to know the cell carrier on an iPhone programatically ? ** update ** I am looking for the carrier name which the iPhone is connected to. ...

Change the color of a Tabbar on the iPhone

Our designers want to change the color of the default UITabBar. Of course they do. They want the background to be green, and the icon highlights to be white, as opposed to the black/blue default color scheme. Anyone have any experience or suggestions to do this? ...

Is it a violation of terms and services to embedd google's turn by turn directions into an iphone app?

I'm trying to embed Google's directions into an iphone app There doesn't seem to be a straightforward way to pull turn by turn data (specifically JSON data) other than adding a UIWebView. I was wondering if it's a terms of service violation problem or is it something that just hasn't been implemented yet for the iphone. I've seen Googl...