iphone

Is the New Window Icon in Mobile Safari a Standard Icon?

I have looked all over for the "new window" icon (lower right corner) in mobile Safari on the iPhone, but I'm not having much luck. It's not one of the standard icons mentioned at http://developer.apple.com/library/ios/#documentation/userexperience/conceptual/mobilehig/SystemProvided/SystemProvided.html . I'm hoping to create a multi-d...

while refreshing the MKMapView, current location pin should move smoothly or animate to its current position

I have one problem: while refreshing the MKMapView the current location pin is not moving to its current position smoothly. How can I make it to move or animate smoothly? ...

Is it possible to use Webkit as a framework on iPhone?

Hi guys. I'm developing on iPhone App.And I want to use webkit for browsing. As you know apple provides webkit(UIWebview). but it just provides extremely limited api like loadpage, back and forward something like that. So, my question is how can I use webkit engine? Anybody know? It's ok even if you just know a little hint for this. ...

iPhone, APNS usage....

Hi all, I have a question about APNS... my iPhone lost, I know deviceToken, I have push some message to my iPhone, I want know if the iPhone OS was restore or reset, your know, all app will be removed includes my app, if so, whether the push message will be send to my iPhone ???? sorry I have no other iPhone to test now. just urgent ...

iPhone openGL error : ERROR: 0:1: '<' : syntax error syntax error

Hi Friends I am new to openGLES, trying to work with HelloArrow program using shaders from a Site but when i compiled i got the following error, Source code Download HelloArrow.zip ERROR: 0:1: ' attribute vec4 SourceColor; varying vec4 DestinationColor; uniform mat4 Projection; uniform mat4 Modelview; void mai...

get attribute values from returned XML

This is the xml I am getting from web: <?xml version="1.0"?> <abc>87C4A556-B7E5-5AE4-81FE-86BE0C6306E1</abc> <abc2>P29077758</abc2> <abc3>55AGD99D</abc3> <abc4>147</abc4> <abc5>1286259226</abc5> <abc6>USA</abc6> <abc7>US</abc7> and using this to get attribute: -(void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName ...

Merge 2 image where one is moveable

Hi all, I want to merge two images where one is a greeting card with a heart shaped portion transparent and another is the image of a couple. Now I want the image of couple movable so that i can move them and resize them to set in that heart part and then I want to save that mixture of image as one image and send it as attachment in mail...

Are private or password-protected apps acceptable in the Apple AppStore?

Simple question - can I put an app in Apple's AppStore which is only functional for those who have a username & password? This is for a client who wants to distribute their app only to a select number of people. The Enterprise license is not an option, and while ad-hoc distribution is, I'd prefer to go through the store. As the material...

Horizontal UITableViewCell iphone

I want to scrolling Horizontal UITableView in iphone ? or How to create custom Horizontal scrolling UITableViewCell and added with UITableView ? Please i really need this.Or anyother controls that shows 10 columns per row in UITableView . My data size is out of the screen for each row i dont want to fold it .So how can i increase the...

user’s activity history in iPhone

Hi All, I am new to iphone development. I want to make an app, wherin I want to access following Logs: call log, message log, app usage log, media log, ... Logging data per activity: ex) call log: call direction, phone number, call duration, location, ... Privacy policy (logging policy, using policy of the log data, user consent policy...

Problem using NSString compare:options:range, conflicting results

Ohh, what is wrong with this code !?!?! NSString *s1 = @"5 Oct 2010 18:30"; NSString *s2 = @"5 Oct 2010 09:47"; NSRange range = {0, 11}; // Both "D MMM YYYY " and "DD MMM YYYY" NSComparisonResult result = 0; result = [s1 compare:s2 options:NSLiteralSearch range:range]; // result == -1 NSString *sa = [s1 subst...

How to pass userInfo in NSNotification?

Hi, I am trying to send some data using NSNotification but get stuck. Here is my code: // Posting Notification NSDictionary *orientationData; if(iFromInterfaceOrientation == UIInterfaceOrientationLandscapeRight) { orientationData = [NSDictionary dictionaryWithObject:@"Right" forKey:@...

MFMailComposeViewController is not interactive

I'm using the following code in two view controllers; one, where it is triggered by pressing a button, and another, where it is triggered by tapping a table cell. In the first, it works fine. In the second, triggered by the table-cell tap, the mail composer appears, with the fields correctly filled out, but the cursor and keyboard do n...

unrecognized selector sent to instance

I'm using appDelegate for sharing NSMutableArray but it's crashing. Error message is unrecognized selector sent to instance countrydata *countryobj=(countrydata *)[listItems objectAtIndex:indexPath.row]; if(addItems==nil) { addItems=[[NSMutableArray alloc]init]; } [addItems addObject:countryobj]; call...

Need to write some text on PDF document

Hello All, In my iPad application i need to write some text on PDF document. like "Doc Sign" application. do anyone have any idea ? is there any library for that ? Thanx in Advance. ...

Application invoking mail crashes in iphone 4 os if mail account is not configured

I am invoking mail application from my mail using messageUI and MFMailComposer. but in iphone os 4.0 if the mail account is not configured,the application crashes while showing the device specific alert to configure the mail account.what can be the solution for this? can this be os issue or device specific issue. Because it works fine on...

saving an animated gif in iphone

In an iPhone, when i open a gif animation in safari and tap on it long enough, then I get an option to save it in the photo gallery, right? On doing so, is the whole gif file (i.e. the bunch of images bundled together in the gif file) or only the first frame of the bundle saved? I converted the saved image into NSData and saw that the d...

how to convert (jpg+mp3) into mp4 or mp4 into (jpg+mp3) in xcode programming

hi everyone, Is is possible to convert (jpg+mp3) into mp4 or mp4 into (jpg+mp3) in xcode programming? The file type is not necessary to be jpg or mp3, it could be any possible photo file type like jpg, png or bmp, and could be any possible audio file type like wav, caf or mp3. Coud anyone give me a sample code or the reference documents...

Iphone Grouped tableview with nib file by row, my rows restart in every section and it wont show the next section rows

Hello Guys Im starting with the SDK and I am trying to set an app using a tableview to display the info, Im going to say thanks in advance, because I know some of you experts can help me with my problem. I created a window base application and Im using a tab bar with a tableview that has a navigation bar to go back and forward in it, an...

Facebook oauth/access_token missing

Hi all Dunno if Im missing something but here goes. Im trying to get an access_token for my application so that it can go and look up events for certain public groups on facebook, without requiring a user to be logged in. Im trying to get an access_token from https://graph.facebook.com/oauth/access_token?client_secret=foobar&amp;clie...