NSData *data = [NSData dataWithContentsOfURL:[NSURL URLWithString:value]];
passwd, this command not work properly in iphone (currently 1.1.4), it will cause endless loop, you must restore the system using itune. So this is the way how to change it.
Login to your iPhone using SSH, or use the Terminal Application, type vi /etc/master.passwd, and look for this line :
step 1: add a notification
[[ NSNotificationCenter defaultCenter ] addObserver : self selector: @selector(receivedRotate:) name: UIDeviceOrientationDidChangeNotification object: nil];
step 2: remove a notification
I became interested in starting this "Cross-mobile-platform" project and writing about it because I found out there are very interesting events/incidents/and on-going news behind this interest.
What is the motivation for doing this: well, simply to go against the popular crowd and common understanding of you can’t development some platform-specific program/application unless you have that actual hardware. And yes, the specific platform of interest is this: Mac, iPhone, iOS.
I found it very ridiculous of Mac’s background. 68000 68HC11, PowerPC chip (legacy now, but feel free to Google PowerPC and read the story behind it). I am so surprised at what I encountered (CPU not supported on Guest OS) when I want to virtualize a recent MacOS (X, mountain lion, or lion). But anyway, I stopped trying anyway because my recent Desktop is an AMD-based (but I wouldn’t try it on my laptop because I feel it’s too slow).