Apple wants you to use their 30 pin interface, but that requires going through their MFi program and that lets them control the hardware ecosystem like they do the software ecosystem.
To be fair, there are certain advantages to hardware manufacturers willing to jump those hurdles. You're able to ensure no one can make software for your hardware, for one. Secondly users who plug in your hardware can automatically be taken to the app store to download your software.