iphone

How to make half curl animation in iPhone like the maps app ?

Hi All, I am using the following code for page curl animation [UIView beginAnimations:@"yourAnim" context:nil]; [UIView setAnimationTransition:UIViewAnimationTransitionCurlUp forView:yourView cache:cacheFlag]; ... [UIView commitAnimations]; Is it possible to make the half curl animation like the maps.app on iphone/ipod ? Any ideas ho...

test in-App purchase with Sandbox environment without itunes connection in iPhone

hi, I have some problem when i test In-App purchase,there is problem of iTunes connection,so i want to know that can we use sandbox Environment without itunes connection.Please help me out for this problem. Thnx ...

ZipArchive memory problems on iPhone for large archive

Hi, I am trying to compress multiple files into a single zip archive and I am running into low memory warning. Since the complete zip file is loaded into the memory I guess that's the problem. Is there a way by which I can manage the compression/decompression better using ZipArchive so that not all the data is in the memory at once? Th...

how to check download resumed or not in ASIHTTPRequest..?

hi i am downloading file from server using ASIHTTPRequest in my iphone application but i am not getting any callbacks to know whether downloading resumed after i stopped and resume it again . ASIHTTPRequest *request = [ASIHTTPRequest requestWithURL:url]; [request setDelegate:self]; [request setAllowResumeForFileDownloads:YES]; [reques...

Open detailview of contact of address book and filled detail and save it.

I want to open detail view of contact and then. i want to save in adress book. please give me a hint. ...

javascript scroll event for iPhone/iPad ?

I can't seem to capture the scroll event on an iPad. None of these work, what I am doing wrong? window.onscroll=myFunction; document.onscroll=myFunction; window.attachEvent("scroll",myFunction,false); document.attachEvent("scroll",myFunction,false); They all work even on Safari 3 on Windows. Ironically, EVERY browser on the PC supp...

iphone configuration profile installed via webkit.

Good day! I am using Xcode 3.1.4 and iPhone SDK 2.2.1. I am creating an iphone application and i would need the user to download a custom configuration profile (created by me) from a URL loaded via webkit. I have tested the URL in safari and it downloads and installs the profile just fine. however, the url opened via webkit could NOT do...

UItextView in UITableview, autocorrection bubble not visible

Hello! I have a UITableView with custom cells. The cells containing one UITextView each and the cell is resizing during user type text in the TextView. My problem is when user is on first row in a TextView autocorrection bubbles wont be visible in the current cell. Is there any workaround or can someone point me to another direction...

How to pause the application when quit the home button in iphone

Hellow All, I am developing one game application for iphone.Here whenever user get the call or SMS or he quit the appication ,my application should be in pause state .so,whenever he loads the application again,it should go to previous state where it stopped. Are there any built-in methods for doing this Thanks all ...

Using CGContext to display a sprite sheet iPhone

Hello, So I have a spritesheet in png format, and have already worked out the coordinates for what I want to display. I'm trying to create a method that will return a UIImage when passed the location information on the spritesheet. I'm just not sure how to use the CGContext stuff along with the the coordinates to return an UIImage. I ...

Get image from website url iphone faster

Hi i want to get image faster from website in iphone.. Now i get image from website url using this function NSData *data; UIImage *Favimage; data = [NSData dataWithContentsOfURL:[NSURL URLWithString:WebsiteUrl]]; Favimage = [[UIImage alloc]initWithData:data]; But it takes some time to get image from website url. Now i want get faster...

UITableViewCell select even doesn't work

I had a page control(UIPageControl) on a view (UIViewController) with table view (UITableView) on each page, each page have own table and can go to different view controller. i add the codes in "didSelectRowAtIndexPath" which can go to next level, is works perfect when i test it in a table view by itself, but it doesn't works when i have...

Memory management for "id<ProtocolName> variableName" type properties

Hi, I'm having a problem with properties of the following type: id<ProtocolName> variableName; ..... ..... @property (nonatomic, retain) id<ProtocolName> variableName; I can access and use them just fine, but when I try to call [variableName release]; I get compiler warnings: '-release' not found in protocol(s) Do I need to de...

Word boundaries (\b) in NSPredicate causing NSFetchRequest to return no managed objects.

Using Core Data w/a sqlite store on iPhone.... I've got a bunch of comic book image entities, each with a string that includes the comic's issue#, e.g.: image.imageTitle = @"Issue 12: Special Edition"; Part of the UI allows the user to type in an issue number to jump to the next issue. My initial code for this was sloooooooow because im...

Load different views depending on the category of data on tap of tableview cell iPhone sdk

Hi all, In my aplication, I want a tableview with different cell structure depending upon the category of data that's getting loaded in it [I have different categories like video, editorial etc with different structure of data like video has a single label, editorial has 3 labels etc]. I can load different nib files based on the data co...

How can keep track of the index path of a button in a tableview cell?

I have a table view where each cell has a button accessory view. The table is managed by a fatchedresults controller and is frequently reordered. I want to be able to press a button and be able to obtain the index path of the pressed button's tableviewcell. I've been trying to get this working for days by storing the row of the button in...

Why can't I use "List" as class name of a subclass of UITableViewController?

Why can't I use "List" as class name of a subclass of UITableViewController? ...

When setting up a timed execution using NSDate, NSTimer, and NSRunLoop, which one do I need to not release before the action in complete?

Here's the part of the code dealing with it: NSDate *fireDate = [NSDate dateWithTimeIntervalSinceNow:1.0+index]; NSTimer *timer = [[NSTimer alloc] initWithFireDate:fireDate interval:0.5 target:self ...

iPhone: [subview release] removes my subview from the display

I have these two pieces of code. The first one works perfectly: UIView *tmp = [[UIView alloc] initWithFrame:CGRectMake(0.0f, 60.0f, 296.0f, 44.0f)]; [self.dynamicView addSubview:tmp]; [tmp release]; The second one is pretty much the same, but the view doesn't show up. CommentBox *commentBox = [[CommentBox alloc] initWithFrame:CGRectM...

How to track audio decibel values from UIImage Picker Controller?

hi, i am developing iphone application which included UIImagePickerController Source type is UIImagePickerControllerSourceTypeCamera. In this how i can get audio values from mice as-well as i have to show it and should have option to on- off. So please help me to overcome this issue. i searched completely from UIImagePickerController do...