How do I automate in iOS?

How do I automate in iOS?

Any mobile apps need to be test not only for functionalities but also for US/UX experience, And also should be tested via different devices to make sure the app quality across devices.