Welcome To Snipplr


Everyone's Recent Snippets Tagged iphone



Delete the files in Documents folder if it's not a sqlite file.
5 34 posted 9 years ago by rabc
Get a filename part from a NSURLRequest. Optionally remove extension
0 13 posted 9 years ago by gfazioli
Just a simple loop around an NSMutableArray, but also removing an item if need be.
1 8 posted 9 years ago by suibhne
- Fully compatible with all browsers and iPhone/iPad - Letterboxes vertically oriented images - Standalone: no library needed, no conflicts needed and speedy - VERY light weight (under 3KB for uncompressed css and javascript) - Easy to integrate...
3 29 posted 9 years ago by kirie
Use this as a way to detect iPhone users using Rails 2+. This should live in your /controllers/application_controller.rb (class ApplicationController < ActionController::Base). You also need to modify your mime type.
2 27 posted 9 years ago by chrisaiv
this was just an exercise to learn about updating a UIImageView to the desired orientation;the accelerometer was used to detect the movements through the overridden method shouldAutorotateToInterfaceOrientation. wurd.
0 19 posted 9 years ago by rvachere
iPhone code snippets for websites
1 25 posted 9 years ago by LuckyShot
0 12 posted 9 years ago by wbednarski
Add the following framework "AddressBook.framework" to your project Make sure to import these header files. #import "AddressBook/ABAddressBook.h" #import "AddressBook/ABPerson.h" #import "AddressBook/ABMultiValue.h"
3 19 posted 9 years ago by espinallab
execute javaScript only for iphone / ipad / ipod using jQuery, triggered on page load
7 74 posted 9 years ago by humanoid
1 16 posted 9 years ago by rickfu
It was based in Markjnet example here: >> http://www.markj.net/iphone-asynchronous-table-image/
4 23 posted 10 years ago by rabc
It set the alpha to zero so the view will be invisible
0 16 posted 10 years ago by rabc
3 31 posted 10 years ago by ikex