Question: does using iphone while charging affect battery life?
Answer: So connecting to power while using the phone will provide better long term battery life than discharging the battery when using the phone, then charging it again. It is perfectly fine to use your iPhone while charging. Be sure you use Apple equipment to charge the iPhone (cable, charger).