iphone

how would i add dissolve transition to my code? (comic book)

I tried looking at apple's code but to no avail. Any ideas? #import "ApotheosisViewController.h" @implementation ApotheosisViewController @synthesize scrollView1; (BOOL)shouldAutorotateToInterfaceOrientation: (UIInterfaceOrientation)interfaceOrientation { return (interfaceOrientation == UIInterfaceOrientationLandscapeRight); } con...

Is there a way to set a separate short title for UITabBar?

I'd like to be able to give my views short names for display on the tab bar, and longer (more descriptive) name when the same view is linked to in a table view. The reason is that longer names nudge up against each other on the tab bar. In a table view, there's more horizontal space, so I want to use more descriptive titles there. Norma...

Reading ePub format

Hi, I am trying to develop an iphone application to read ePub files .Is there any framework available to develop this.I have no idea about how to read this file format ..please anyone give me a solution.I tried to parse a sample file with .epub extension using NSXML Parser..But that fails ...I am a new in iPhone development....please an...

Parent UIScrollview taking precedence over Modal UITableView upon scrolling

I have a main UIScrollView to scroll images - when the user clicks on an image, I'm pushing a new UITableView to display data for that image, etc. I'm doing it with: [self presentModalViewController:controllerTableView animated:YES]; The data in the table view display fine, etc and I can select a cell to even get more details, etc (u...

Registering as iPhone Developer

Hi, tried to register myself as iPhone Developer. I have already an iTunes Account. Got to this page: http://developer.apple.com/iphone/index.action# but dont know what to do next. I dont want to download anything at the moment. Do I have to? Is the registration process completed now and they will take the money from my credit card? ...

Change UIView background color programmatically

Hi all! I've just created a new view based application, and now I want to set the background color at the application startup rather then in IB. I have found this code in a tutorial: UIView *view = [[UIView alloc] initWithFrame:[UIScreen mainScreen].applicationFrame]; [view setBackgroundColor:[UIColor greenColor]]; But my view is sti...

How do I get a UIImage from an image file on my server?

How do I get a UIImage from a small image file on my server (can be .jpg or .png)? ...

iPhone Book Wrapper app, HTML pagination

Hello Guys, i'm developing an app that will be just a wrapper for a certain book the book is in HTML so, i want to make something like stanza, i want to determine no. of pages given the Whole book HTML and to paginate that dynamically into views. is there any built-in methods that can help me with that? or does anyone know any idea of ...

how to load Music playsist and play it in my application?

how to load and play the Music playlist in application?like the application "Name the song" ...

NSString Problem iphone

I am using nsxmlparser to get rss feeds title and description from the following url http://www.freerepublic.com/tag/*/feed.rss In that title and description, there is some unencoded characters are included like this &#8216semicolon..... Can anyone help me? Thanks in advance...... If u can't understand my question, In the parser sam...

iPhone CAAnimations playing serially

Is it possible to define all CAAnimations at start and play them one after another serially without using delegates, like what we do in CAAnimationGroup, where in animations are played simultaneously. Instead I just want them to play serially. ...

How to access an app through the device settings?

Hi all , I have deployed an application in my device. Now i want that the app to be accessible through the device settings. Like changing some of the settings of the app that should show up in the device settings for the app. Plz suggest me a way. Thank You All. ...

Iphone SQLite initializing and closing

I'm new to working with iphone and SQLite i have my app working fine with SQLite but i would like to know what you all think is the correct / best way of opening an sqlite connection and closing it.. Would you Initialise a DB connection on app load and close on app close.. Open and close connections when is needed.. Also is it goo...

UIWebView With PDF

Hello Guys, i'm displaying a PDF file using UIWebView, and i want to do 2 things I want to make the page fit the phone screen without the user has to double tap to do that I want to remove the margin with gray shadow around the displayed PDF Thanks for helping ...

UIPasteboard - cannot copy text

This code should copy the string to the generalPasteboard, as the [[UIPasteboard generalPasteboard] string] object, but the method causes the program to terminate. - (void)copyResultToPasteboard { NSString *message = self.resultTextView.text; [UIPasteboard generalPasteboard].string = message; [message release]; } I think i...

Weird UI problem when modal view is dismissed

Hello. As shown in the screenshot below, i have a UITableView with some info and upon selecting a row an ABUnknownPersonViewController is invoked. In order to be able to able to dismiss that and go back to the UITableView I have this code: ABUnknownPersonViewController *unknownPersonView = [[[ABUnknownPersonViewController alloc] init] a...

Accessing standard call ringtones in iphone sdk

Is it possible to access (ie. list) and then play standard ringtones through the iPhone SDK? I've had a good search through the SDK but can't find anything obvious. Note I'm not talking about changing ringtones - just being able to have the user select a standard ringtone and then play it from an application via the audio service. ...

How to use an icon as back button for UINaviationController

Hey, Does anyone know how to use an icon instead of text for the UINavigationController back button? ...

iphone email attachment

I used the MessageUI framework to send the mail with attachment from my application. But i got the following error, 2009-09-07 19:52:23.483 emailTest[11711:5b17] Error loading /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/DataClassMigrators/AccountMigrator.migrator/AccountMigrator: ...

iPhone --- 3DES Encryption returns "wrong" results?

Hello fellow developers, I have some serious trouble with a CommonCrypto function. There are two existing applications for BlackBerry and Windows Mobile, both use Triple-DES encryption with ECB mode for data exchange. On either the encrypted results are the same. Now I want to implent the 3DES encryption into our iPhone application, so...