I am adding a no. of UILable dynamically to my view like this
UILabel *test = [[UILabel alloc] initWithFrame:CGRectMake(x, y, 50, 50)];
[self.view addSubview:tick];
Is it necessary to release these UILabel from memory in viewDidUnLoad and dealloc, if yes how i will release them? how i will get their reference?
...
I do most development testing on my iPad. When I test an iPhone app, it runs in 'compatibility' mode where the little iPhone app runs in a small window or x2 magnification. Now that I've created a universal app it runs as a native iPad app. For testing I'd like to use the simulated iPhone when I don't have an iPhone handy for testing.
...
Hi,
I need to get the iPhone model number from code. I can see the model number from my iPhone which is "MC143C", but when I am retrieving this by using code it is returning "iPhone". This is the code I am using to get the model number.
NSLog(@"model: %@", [[UIDevice currentDevice] model]);
Can anyone please help me to have the infor...
HI all,
can anyone let me know,
wat does dis means
* Terminating app due to uncaught exception 'NSRangeException', reason: '* -[NSCFArray objectAtIndex:]: index (13) beyond bounds (13)'
so that i can solve my problem
regards
shishir
...
I have created in-app purchase for non-consumable object application in iPhone using with store kit its properly working, but i am not getting that from which function information about product is checked that product is purchased or not.
please help me out
thnx
Kunal
...
I have multiple textfields on a UIView.
I resign for a previous textField in textFieldShouldBeginEditing method, where following sequence of events are performed
UIKeyboardWillHideNotification is received corresponding to that field where the keyboard for the previous field is hidden.
the method textFieldShouldBeginEditing returns a...
HI all,
can we retain an array in NSDefualt?
regards
shishir
...
Hello. I am trying to make a soap call. Its a very basic call wit Welcome User output. The return value is in xml format. and i am getting the following error. can anyone plz tell me what this error means.
The following code shows the soap request and post request that i have made
NSString *soapMessage = [NSString stringWithFormat: @"<...
Whenever I try to parse XML with special characters such as ō or 満月先生 I get an error. The xml documents claims to use UTF-8 encoding but that does not seem to be the case.
Here is what the troublesome text looks like when I view the XML in Firefox:
Bleach: The Diamond Dust
Rebellion - M� Hitotsu no
Hy�rinmaru; Bleach - The
Diam...
Hi,
I have a peace of code like this:
CGSize lSize = [@"Hello World" sizeWithFont:[UIFont fontWithName:@"Arial" size:13]];
Now I want to have the right frame to see this text in the UITextField. I don't want to change the font size just have the frame for UITextField to fit with this text.
I will really appreciate any helps
...
Hi,
I am trying to make an OpenGLES 2.0 cube application.
The idea was to have a texture (with an alpha 75%) applied to all 6 faces of the cube.
This would mean that even if I rotate the cube i would be able to see all 6 faces at any given frame. Now I have enabled depth test(my app needs this!!) and blending. The Depth func is LEQUAL a...
Hi,
I posted this question on Three20 google group but did not get any response. So I thought I try this forum. I am using TTPhotoViewController to display photos. I am following sample code given in Three20 sample project: TTCatalog/PhotoTest1Controller.m. In my case some of the images are less than (320,480). The problem which I am f...
My problem is that I have a Register Controller and a Login Controller. The Login Screen displays a Login Screen or a Logout Screen depending if a user is logged in. Now when a user registers, does not close the app, and then goes to the Login Screen it will still display a Login Screen, although there is a logged in user already. This i...
i have some problem..
i have created a dynamic button in a table view. I want to know the method of opening a new view controller when i click the dynamic button in the table view.
...
I generally like the View Persistor in the Three20 URLNavigation, however, I would like to exclude a few Controllers so they can't be the the first controller to show when the app loads. how can i do that?
...
Hey.
Oh, and I should probably mention that I am not loading the UIWebView with a website, but with an HTML string.
I'm trying to use a UIWebView for displaying content higher than the screen of the iPhone, without needing to scroll in the webView itself.
For that, I need a way to get the total document size, including the scrollable ...
Hi Guys
I am finding the solution for my application.
I create an iphone application have 3 screen:
First screen not contain any tab bar. Second screen have 2 tab bar item. Third screen have 3 tab bar item.
http://c.upanh.com/upload/7/719/L50.11932623_1_1.jpg
If i create a UITabBarController -> the tab bar will be appeared from first...
I want to offer a "highscore" list for friends in my app (at this point iPhone/iPad), so that if the user connected to facebook, he will get a list with his/her friends scores.
Connecting is easy, retrieving friends is easy, but figuring out the best way to store the scores is not.
As it seems I need to the store the scores on my own s...
Edit:Ok, this is weird... After doing extensive debugging, I have discovered that whilst the text fields are resigning first responder status (I can see that there is no longer a blinking bar in any), the keyboard is NOT GOING DOWN! Maybe this deserves a different question.
I have several text fields in a custom uiviewcontroller subcla...
Hi,
I am working on login page validation for twitter application. I have downloaded the sample code of "XAuthTwitterEngineDemo". Now i have created kOAuthConsumerKey and kOAuthConsumerSecret keys and implemented in my code. But i donno, how to create "cachedXAuthAccessTokenKey".
#define kCachedXAuthAccessTokenStringKey @"cachedXAut...