Added iPad support (issue #3)