Question: how to connect mobile data in iphone?
Answer: Verify that your SIM is activated and unlocked. See Set up cellular service on iPhone.
Go to Settings > Cellular.
Verify that Cellular Data is turned on. On models with Dual SIM, tap Cellular Data, then verify the selected line. (You can choose only one line for cellular data.)