Added iPad support

Added iPad support