iphone

iPhone/iPad draw pdf like iBooks?

Hello, Does anyone know how to use core graphics to draw a pdf like in iBooks. I can already draw a pdf page using core graphics but was curious how iBooks shows a lower quality view of each page so it loads fast and then when you stay on a page longer it renders it a full quality. This makes it able to open the pdf without having to ma...

How can i make Twitter's row menu in iOS app?

Anybody can tell me how to make Twitter's row menu in iOS app like img below? This menu appear when i touch down move finger to left (Touch in UITableCell of UITableView). Can i make row menu like it? Thanks :) ...

Hoew to implement Navigation on button click

hi, my project first used the Three20 frame work for handling navigation.But due to some problems i ha to remove the three20 part.So im redesigning my app. what im trying to do is show a detail view when user touches a button.I created a new mainwindow as there was none earlier.It does not have a navigation controller. i used Detail...

How to forbid CALayers responding to a hit test?

I'm doing some layer drawing on the iPad and have to provide user interaction. My layer hierarchy is quite complex and deep, I'm drawing some kind of a tree with several interaction possibilities. At the moment I need to draw arrows within this tree which should be drawn on top of all other layers and there the problem comes. These Arro...

About String warning format is not a string literal and no format arguments

Hi i am using following code. NSString *quant = [NSString stringWithFormat:@"%@",item.capacity]; NSString *metricUnit = item.metric_Unit; cell.quantity.text = [quant stringByAppendingFormat:metricUnit]; while quant is nsnumber and i m getting a warning named "format is not a string literal and no format arguments" and i m trying many ...

How rewrite property in coredata?

How i can Check that property==nil ReWrite property For example NSFetchRequest *fetchRequest = [[NSFetchRequest alloc] init]; NSEntityDescription *entity = [NSEntityDescription entityForName:@"Event1" inManagedObjectContext:app.managedObjectContext]; [fetchRequest setEntity:entity]; NSError *error; NSArray *...

iPhone wheel not running smoothly

Hi, I am implementing a wheel for iPhone which should turn clockwise or anti-clockwise upon being dragged into that direction. Although it does this, there was some errors with smoothness. Sometimes it seems like it get confused regards which way it should turn. Any help please? -(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent...

UITableViewCell: how to turn of auto scroll to cell

I have a custom tableview cell with 5 uitextfields in it. No matter what textfield I touch my tableview automatically scrolls to the bottom of the cell. How do i turn this off ? i want to do it manually. ...

Upload an app's update to the app store !!!

hi All, I have an app that is already existing on the app store ,But now i made its updates means i updated its UI its OS compatibality and other thing that will make help to run on the newer os now i want to put it on as a update to the existing user of the app and if a user have never this application then it will be a fresh applicati...

Quick Explanation of SUBQUERY in NSPredicate Expression

There appears to be zero documentation about the SUBQUERY keyword from Apple and I can't find a simple explanation about it on SO or on Google. It's a conspiracy! ;) Please, could someone from the inner-circle please just provide a quick explanation of its syntax so I can use it? SUBQUERY(Bs, $x, $x IN %@) Thanks ...

Drawing polylines over Image in UIImage View

Hi! I want to draw polylines over and image loaded in an UIImageView. Can someone give me some tips on where to start? Thank you ...

MPMoviePlayerController issues

Hi I need to show a fullscreen video with the normal modal view controller display animation when the user clicks a button. I tried several ways of doing this: MPMoviePlayerViewController *viewController = [[MPMoviePlayerViewController alloc] initWithContentURL:[NSURL fileURLWithPath:pathToVideoFile]]; //[self presentMo...

uiwebview autodetection phone number

hi friends, Is it possible on uiwebview autodetection phone number is stored with my json value on contact page automatically(without manual data entering in it). Regards, sathish ...

can we do push notification in iphone using phonegap fremwork?

hi, i need basic idea about how to implement push notification using phonegap fremwork. ...

Returning to app after sending to mail client

Hi there The jamie oliver application and the nigella quick collection apps both return the user to the application after they've sent a feedback email. My question is, how do I return a user to the app after sending them to the email client. Plus, is there any way to do this with the safari app too? After sending them to a URL? Thank...

Adding backgroundimage to my app

Hi, I am using this code to add a background image to my tableview myTable.backgroundView = [[[UIImageView alloc] initWithImage:[UIImage imageNamed:@"background.png"]] autorelease]; on the internet they say this code works, but it's not working for me can someone help me please? ...

implicit declaration of function NSMinX

The error "implicit declaration of function NSMinX "comes in my project? ...

iphone/ipad memory leaks instrument tool

Hello all. In order to try the memory leaks instrument tool, I create a view-based ipad application. It is very simple. I create a default view-based application. In the ViewController's loadView, I say // Implement loadView to create a view hierarchy programmatically, without using a nib. - (void)loadView { [super loadView]; ...

[IPhone dev] Get hidden value from Cell in TableView

Hello, i want to populate a TableView with data from a database and, when tap a cell, in didSelectRowAtIndexPath, sending selected ID to a new View. I would like to view, in cell text, the description of the record and to put ID in a hidden field/property of the cell, but i could not find a way to do it. I know i can get ID from the dat...

How to disable "shake to undo" in iPhone application written with Phonegap?

The only thing I've found is that you have to set UIApplicationSupportsShakeToEdit to false in plist file but it doesn't work for me. ...