journal
all ![]() | Rob is 20,130 days old today. |
Entries this day: Trukz iPhone_app_source_snippet iPhone_appzzzz Trukz 1:43am JST Friday 6 February 2009 (day 14198) Thanks to Sach for helping me figure out how to get a javascript regex thing working for Trukz. Now my greasemonkey script is working: install Plus 5 if you play Trukz and want to automagially set your speed to be safely five miles above the speed limit, up to your truck's actual speed. Also, join Eagle Logistics and tell 'em Thunder Rabbit sent you. But really, don't play the game at all; it's a waste of time. permalinkiPhone app source snippet 2:53pm JST Thursday 5 February 2009 (day 14197) Perhaps foolishly, I'm transcribing this from the video Using iPhone Features in Your Application, at approximately 3:30 into the vid. // Make sure the library isn't empty if ([UIImagePickerController isSourceTypeAvailable: UIImagePickerControllerSourceTypePhotoLibrary]) { UIImagePickerConroller *picker; picker = [[UIImagePickerController alloc] init]; picker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary; picker.allowsImageEditing = YES; picker.delegate = self; [currentViewController presentModalViewController:picker animated:YES]; } permalink |