iPhones and Androids may as well be apples and oranges when it comes to compatibility, but sharing WiFi information between the two devices isn't impossible.
If you have an iPhone, you will need a third-party app to share a WiFi password with an Android device. These QR code generating apps have options built in to automatically make a QR code of your WiFi information. There are more available on the iPhone app store.
Note: The receiving Android device will need to install a QR code reading app.