iphone

Setting Background image in simulator home-screen

Hey, I was scratching my brains over something when this popped in my mind. Can we set the simulator's home-screen background image to an image of our choice. Case in point is x-code 3.2.2 simulator 3.1.3. ...

How do I blur whatever is behind a translucent UIImageView?

I have a translucent png image (made by turning down the opacity in Photoshop), and there's a UIImageView behind that translucent image. Is there any way to blur the parts of the UIImageView on the bottom that intersect with the UIImageView on top? Thanks! ...

Download images and save locally on iPhone Phonegap app

Hi, I've already managed to save a web page (x/html) successfully, but I'd also like to save the images and mp4 videos that are contained in it, for further visualization in offline mode. I've got access to the iOS filesystem, so I save the html by obtaining the code through an AJAX request, and later saving it to a file. I don't real...

distanceFromLocation - getting error

Hello, I have the following code in place: NewWorkoutViewController.h #import <UIKit/UIKit.h> //#import <CoreLocation/CoreLocation.h> #import <CoreData/CoreData.h> #import "MapViewController.h" #import "StatisticsViewController.h" #import "MyCLController.h" #import "Workout.h" #import "Route.h" @interface NewWorkoutViewController : ...

how to setup voice chat over wifi and 3G network??

I wanted to add a voice chat feature to my business app. I have been trying hard to find anything useful but there is not much help regarding this. Could anyone plz point me to something concrete?? PS: The skype app makes use of this feature. ...

iphone photo frame application

i am creating photo frame application how can i merge photo and frame in one single png and save it to the bundle or document folder. ...

iPhone: How to reenable MKUserLocation 'blue dot'?

Enabling the 'blue dot' which shows current location in my application by mapView.showsUserLocation = YES Disabling/hiding the dot by mapView.showsUserLocation = NO in order to drop a pin. So far so good. Adding an annotation pin at 'userLocation' and dragging it around in the map to a new location. After that I want to show the...

A WYSIWYG text editor for iPhone Safari?

Hello. After a few tests with my iPhone on various sites (a few Django one etc) I was looking at WYSIWYG editors and realised they don't really work too well on small touch screen devices such as the iPhone. Infact, TinyMCE (which I use for most Django projects) just doesn't really work at all. So I'm curious, is there a solution out t...

save a region in mapkit iphone

Hi, When I'm on a google map view from my iPhone, I can zoom in on a region, I want to get this region coordinates. Is that possible?? ...

How to jump to 2nd level viewController on startup in navigation based iPhone app

Hi, I have a navigation based iPhone app. Normally you start on the RootViewController, there you can select a row from an UITableView which brings you to another ViewController, let's call it SecondLevelViewController. When the app is started I check if it was quit from SecondLevelViewController (via a parameter saved to the defaultUs...

Is there a thread safe way to create PNG images in pre-4.0 iOS?

I'm pretty sure that UIImagePNGRepresentation([UIImage imageWithCGImage:imageRef]) is the cause of random-looking memory leaks when done in a background thread (it causes leaks that trace back to CGContextDrawPDFPage!). Now, everywhere else on the internet says I should use CGImageDestination, which isn't available until iOS4. Is the...

IPHONE AND IPAD Programming Training course in London?

Hi, I am looking for IPHONE AND IPAD Programming Training course in London or anywhere in UK if it is good i dont mind to travel. I have done some very basic applications and also submitted few apps to appstore. I would like to concentrate more advanced client-server applications now and also looking to experise in Cocoa programming. C...

Can't update the UILabel from the controller... ...

I link the xib with the source code, but when I try to update the UILabel, it can't update with no error msg. So, I make a breakpoint. When I inspect to the UILabel, which is a 0x0. I already made @synthesize in .m, but I created the IBOutlet on the .h, also I did the IBOutlet UILabel *xxxLabel; @property (retain, nonatomic) UILabel *x...

External library working in Debug profile but not in Release profile on iOS 3.1.*

Hi! I'm having a problem with my Three20-based application. It works perfectly fine on iOS 4, but on iOS 3.1.*, it only works with the Debug profile. When I try the Release profile, the application crashes with [NSObject doesNotRecognizeSelector:] at the first call to a Three20 method. If I comment out all Three20 method calls, the app ...

Convert the voice to text in iPhone

Hi, everyone, I want to ask a question about the iPhone application. Does Apple provide any API to the developers to record the phone call and convert it to text message? Thank you. ...

Any other money transaction methods Except Paypal For In-App purchase-iphone

Hi!!! I want to know the Transaction methods for receiving money from user for selling application or contents within the another application(in-app purchase). I know paypal is provide the library for this kind of money transaction within the application. I want to know any other money transaction method is possible for in-app purchas...

Changing first day of the week in NSDateFormatter

In order to get the days of the week I use: NSDateFormatter *dateFormatter = [[[NSDateFormatter alloc] init] autorelease]; NSArray *weekdays = [dateFormatter shortWeekdaySymbols]; Weekdays gives me an array with the days names but it begins by Sunday. For some reasons I want this array to begin by Monday or Sunday depending on the loc...

How to print a table view (any view) to an A4 PDF Document?

I've a table view filled with data and I want to render the same view to an A4 PDF document. ...

GWT Widget does not allow long-touch-to-copy selections

We're developing a mobile application using GWT and are facing the following problem: iPhone offer a long touch function to do copy&paste for all kinds of stuff. But when we're using the HTML widget or another widget that has explicit ClickHandlers, those events are not forwarded. This even occurs, when there is no clickhandler defined....

Should I use UISegmentedControl or UITableView for navigation?

Fellow stackers, I am developing the interface for my iPhone application and I'm in doubt about an important paradigm that is present in almost every view I am making. I've read the Apple Human Interface Guidelines but I think that my question isn't answered there. The problem is, e.g. in the "My Account" view I have to display all the ...