How to save Score in ios device??

I want to read and write score of my game in Iphone/Ipad using javascript.Please give me the code.

http://unity3d.com/support/documentation/ScriptReference/PlayerPrefs.html