I want to implement a functionality of sending Email/SMS to a particular email address or number on the basis of data connection availability. Three scenarios-
1) If data connection is a Wi-fi or 3G and above then send an email.
2) If data connection is 2G or lesser send a SMS.
3) If no data connection then do nothing.
So, how will I be able to get the connection type of an iPhone/iPad? I have searched on google and stackoverflow but didn't get the right answer. And will the solution be able to pass Apple's Review Cycle?
Thank you Akshay