iphone

problem with scrollview

I am having view this comes from push view controller through navigation.this view has scroll view,when i run the project view is not scrolling.how do i make it scroll. ...

rotating UIimageview on a button click??

i found a code snippet through which i could rotate an uiimageview on this link rotate an image but whenever i call this method on my button, simulator gives an uncaught exception?? what could be the reason for this?? -(IBAction)clickme:(id)sender { [self spinlayer:img.layer duration:1 direction:SPIN_CLOCK_WISE]; } ...

differing methods of alloc / init / retaining an object in objective-c

In several pieces of sample objective-c code I've seen people create new objects like this: RootViewController *viewController = [[RootViewController alloc] init]; self.rootViewController = viewController; // self.rootViewController is a (nonatomic,retain) synthesized property [viewController release]; [window addSubview: [self.rootVie...

How to hide parent tabbar when pushing controller in navigationController

Hi all, I have an application with a tab bar controller and each view contains a navigation controller. My MainWindow looks as follows: Everything works fine as it is but I noticed a problem when pushing a details view to the navigation controller. In the didSelectRowAtIndexPath for a tableviewcontroller that belongs to the tab bar c...

How to redisplay the Back button after it was replaced by an Add button?

I have a view with an Edit button on the right and a Back button on the left. When the user hits the Edit to enter the edit mode, I replace the back button with an Add button. All works great up to this point. I can't figure out how to display the Back button back again after the Edit button is hit to leave edit mode. ...

working with large sprite sheets on iphone

Hi All, I am trying to use sprite sheet animation in my application. The first POC with a small sprite sheet worked fine but as i change the sprite sheet to a bigger one, i get "check_safe_call: could not restore current frame" warning and the application quits. A quick search revealed that this problem meant my app is taking too much ...

How make animation effect in pdf pages?

I have implemented one iphone application.I have used one pdf and its has 100 pages.But i want to implementet animation effect when user touch next page.Can you give me any idea. ...

query about xml parsing

hi all ,i just want to knw,is there any boundations in xml parsing with characters like can we parse a word containing some characters like "frühe" containing "ü" "böser" containing "ö" while i am parsing my xml,which is few different languages, some characters are like the above. and wen i saw in console, it get interpted,exaactly we...

CoreData : App crashes when deleting last instance created

Hello, I have a 2 tabs application. In the first one, I'm creating objects of the "Sample" and "SampleList" entities. Each sampleList contains an ID and a set of samples. Each sample contains a date and temperature property. In the second tab, I'm displaying my data in a tableView. I implemented the - (void)tableView:(UITableView *)...

App Store Submission

In the real world, how long does it take from submission to acceptance & availabilty for download. My boss wants to figure out a project timeline & I need to give him a time. Just wanted to get peoples input from their experiences. ...

NSXMLParser error code 65

Hi guys, NSXMLParser is giving me the following error: "Error 65, Description: (null), Line: 1, Column: 47" I've checked the documentation, and it says that a space is required at column47??. Was hoping someone can help out on this? The raw xml file is as follows. Strangely, the parser works intermittently at times, and for the same xm...

iphone app custom images inside UILabel

Hi, I have got scenario where i would like to find where text in UILabel is ending and get its coordinates in terms of x and y. Then I need to insert image right after last word of UILabel text. This event will be fired when I click on particular image in app. How can I find what are the x and y of ending character of UILabel text? Reg...

best way to know the time of upload/download of a file from/onto iPhone

Hi I'm trying to get the time interval I need to download/upload something to/from a server with no password/proxy. I found a method used by ericasadun. Which actually prints the time iPhone needed to download a certain file. - (void) getData: (NSNumber *) which { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init...

uploading a i-phone application to apple store??

i have been trying to uplaod an application to apple store for 2 days now..first they said the provisioning profile was not right due to which i had to make a new one and upload it again now after that problem was solved while uploading the new binary it said the version was same with the previous minor version(1.0 - which someone else u...

target specifies product type 'com.apple.product-type.tool', but there's no such product type for the 'iphonesimulator' platform

Dear Friends, Please Resolved this type Error for generating to debugging i-phone application. Thanks Anil ...

Drawing your own tab bar ?

Hi all , I want to customize my tab bar user interface some thing like this . So can anyone tell me how to prepare these types of ui layout or rendering ? Thanks , ...

UIImageView size becomes equal to the size of image it holds after autoresizing

Hello, I faced a strange problem. My task is to provide scaling an image to fill the UIImageView frame. The UIImageView is a subview of another view. The code is following: CGRect frame=CGRectMake(0,0,viewSize.width,viewSize.height); UIView* backView=[[UIView alloc] initWithFrame:frame]; backView.autoresizesSubviews=YES; backView.aut...

Mail Composer Address Problem

I found email composer sample code from iphone OS Ref Library. Here is a code- Code: NSArray *toRecipients = [NSArray arrayWithObject:@"[email protected]"]; NSArray *ccRecipients = [NSArray arrayWithObjects:@"[email protected]", @"[email protected]", nil]; NSArray *bccRecipients = [NSArray arrayWithObject:@"[email protected]"]; My ...

Problem with parsing XML with iPhone app

Hi, I have a problem with a xml parsing. I have create a class for parsing. The xmlURL is correct (testing it from debug) but when i call the method parse the variable success become FALSE and a errorParsing is "NSXMLParserErrorDomain". Can you help me? My code is below. #import "xmlParser.h" #import"Posizione.h" @implementation xmlP...

AudioFileReadBytes error

Hi, I read a file .caf with my program. I use AudioFileReadBytes, but its OSStatus that return is -39, what is this?? thanks ...