iphonecoding-stylecursor

Changing the cursor in iPhone simulator?


How can I change the cursor pointer to hand in the iPhone (simulator)? I tried it with the css cursor: pointer; but nothing happens in the iPhone simulator. It still remains the default pointer not changing to the hand symbol.

Why? Can it be fixed?


Solution

  • There is no such thing as a pointer on iOS devices. (Unless you want to use CSS to put gloves on my hands...)

    In regards to the simulator, I suspect that CSS support for the cursor attributes would limited if it's there at all, since the simulator is supposed to behave like the device and there is no cursor on iOS.

    The cursor which you see is the cursor of your Mac. Pretend that it is on top of the "glass" of the simulator. Safari mobile doesn't know that it is there.