Continuing the discussion from I’m unable to set package and activity in the appium:
Continuing the discussion from How can I scroll in android/ios from top to bottom using appium driver?:
I see that you are using AndroidDriver to create your driver.
Can I use the same code to create a driver that can be used to automate an iOS app?
Yes you can create it
IOSDriverdriver = new IOSDriver(new URL(“localhost/wd/hub”),caps);