9 ms·
> There has to be a huge number of ‘ifdef lightning’ Why would that be the case? Why would apps need to know what kind of port is used for charging?
by WalterGR 4y ago
> There has to be a huge number of ‘ifdef lightning’
Why would that be the case? Why would apps need to know what kind of port is used for charging?
- summerlight 4y agoNot for usual apps, but iOS for iPhone might need to know. USB is a fairly complex standard to implement correctly and now Apple tries to bring this to billions rather than millions. So the bar is much higher.
- sigjuice 4y agoThe lightning port is not just for charging. It can be used for audio, data and possibly other things.