I want to create this loading style in my project,i really dont know how.I am really a beginner to swift ui components.I want to add this loading style in my alert view and after getting the results i want to dismiss.So,i want to know about how to make it and add to the alert view to make present and dismiss,Any help please?

                        
First of all you can not do it into default alert view but you can create a custom view and achieve this.
For that you need one circle image and you can add that into Image view and add one label which has text Loading.. add both into View like shown into below image:
After that connect outlet for all of this. and you can show that view as per your need and when you show this view you can rotate image with this code:
And you will need this extension:
and when you hide this view you can remove animation from imageview with this:
And you can check result HERE.
You can use THIS Amazing library too.
And HERE is complete working project.
Hope this will help you.