iphone

how to go to next page of pdf in objective-c if pdf have multi pages.

i have multi pages pdf,i want to go to the next page of pdf, how to go this. ...

UIImagePNGRepresentation generating useless pngs?

I'm trying to get my iPhone to convert some TIFs that it is downloading. They are from sources I can't control so I just have to deal with what ever gets thrown my way. I have multiple sources at the moment and only one is handled correctly. Because they are so large I am cutting them into 1024x1024 pngs and that appears to work fine wit...

XML Parsing need help iphone sdk

Hi all, How do you get "MayurS123" from following xml tag by parsing? <eletitle lnk="http://192.168.10.2/justmeans/trunk/newsfeed/mayurs"&gt;MayurS123 Sharma</eletitle> My file is getting parsed properly. Here I'm able to retrieve the lnk component by doing: if([elementName isEqualToString:@"eletitle"]) { aGoodwork.lnk = [at...

Making UIScrollView (and contents) opaque

I'm trying to speed up my UIScrollView and one method I know of is to set everything to be opaque. I think I have done so, to my UIScrollView, its contentView, the contentView's tiledLayer (I have a CATiledLayer as the actual useful bit that the users see), and on the UIView that all of this sits in. But despite all of that when I look i...

IPhone UI - WebView VS Native screens

in terms of performance and user interface experience , which one is better developing application in Html screens and JQtouch or building screens in C++ ? ...

iphone in-app purchase subscriptions products

Hi, I am making an in-app purchase application for bulk of quizzes. I have all the information, graphics and data set of quizzes on my server. I want user to purchase quizzes with in-app purchase and want to transfer all the related content of purchased item from my server to application. Now, apple is asking me to submit binary while ...

How to resize a UISwitch?

I have made a custom UISwitch (from this post). But the problem is, my custom texts are a bit long. Is there any way to resize the switch? [I tried setBounds, did not work] Edit: Here is the code I used: @interface CustomUISwitch : UISwitch - (void) setLeftLabelText: (NSString *) labelText; - (void) setRightLabelText: (NSString *)...

Table View problem...plz help...!!

hi Frnz, i want to delete multiple rows from a table view based on users selection.obviously i cant use didSelectRowAtIndexPath method coz it will be called for every row selected. i want to allow user to select multiple rows for deletion and then delete them in one go...Is it possible if yes then how to go about it.Also i am using a si...

Sending an image in a faceless email

I am trying to send a faceless email (sending an email without showing the interface), using the code below. I also want to attach an image to this email. Is this possible? - (void) sendEmailTo:(NSString *)toStr withSubject:(NSString *)subjectStr withBody:(NSString *)bodyStr { NSString *emailString=[[NSString alloc] initWithFormat...

iPad iTunes Animation

Hi, Within the iTunes Music Store app on the iPad, if you select an album, a modal view flips out of the album over to the middle of the screen. Is this a built in animation or a custom built one? How would I go about replicating it? This can be seen about 30 seconds into this video. Thanks ...

Parsing a problematic RSS feed on iPhone

I have a small test app that parses a few RSS feeds. It all goes well for all except for one. I scanned through the feed's XML and noticed that it fails once it reached a tag that has "&" in it. So, if I have a tag like this: <like>beer & barbeque</like> The log says that it found a string beer And it crashes with the exception ...

NSURLConnection, NSURLRequest, untrusted cert and user authentication

Morning Everyone, I've been attempting to write an application that does some GETs from a remote Web Service that requires authentication. My main problem is that the majority of these remote servers (and there are a lot of them) don't have valid certificates. I've got code to accept the invalid certificate and code to respond to the ch...

iPhone OS: Sharing a UIWebView between ViewControllers in a UITabBarController

I am trying to create a application with a tab bar and a common WebView. The different tabs shows/hides different divs in the WebView but maintain the state otherwise, so I need to share the web view between the tabs. I am trying to use a nib, but I think that might not be the right solution here. Any pointers for doing this correct...

Newbie: UINavigationController is pulling me back from further learning :(

I have created a window-based application and my problem is I am unable to create UINavigationController on the go. InFact I don't know how to do that. My AppDelegeate - (void)applicationDidFinishLaunching:(UIApplication *)application { // Override point for customization after application launch [window addSubview:logInVi...

Why won't the method not found warning go away?

I have a class with a method that works and I have tested it but xcode still raises a warning over the method: MapPoint *mp = [[MapPoint alloc] initWithCoordinate:[newLocation coordinate] title:[locationTitleField text]]; no 'initWithCoordinate:title' method found? ...

Determining what frequencies correspond to the x axis in aurioTouch sample application

I'm looking at the aurioTouch sample application for the iPhone SDK. It has a basic spectrum analyzer implemented when you choose the "FFT" option. One of the things the app is lacking is X axis labels (i.e. the frequency labels). In the aurioTouchAppDelegate.mm file, in the function - (void)drawOscilloscope at line 652, it has the foll...

what is different betwen .ipa and .app format in using iphone ?

i tried Adobe flash professional cs5 based to develop iphone application in windows os but when i publish it's out will be .ipa format , so is it working properly in iphone ? so could u know about ipa and app please explain me . And also is it possible to develop iphone application in Adobe flash professional cs5 and how can we get .app ...

iPhone Internationalization. What is the simplest workflow for me?

Hello, I am wising up and getting my internationalization act together. Right off the bat I am a bit swamped by all the docs Apple provides so I was wondering of someone could sketch a workflow for my situation. Before I begin, I browsed some Apple example code and noticed this NIB file - MainWindow.xib - in the Resources folder: ...

data loading - app launching on tableview

hi, i encounter an issue with my application. On one hand when my app launches, the first view displayed is a tableview within a tableviewcontroller. On the other hand my app calls a web service to collect data. These methods are in MyAppDelegate\applicationDidFinishLaunching. The thing is that my tableview is made of custom cells th...

Lua interpreter on Iphone

Is it possible to run Lua interpreter on the iphone? If yes, are there any libraries that have bindings to Iphone's SDK? If its not possible with Lua, what are the other language options? ...