Swift UIActivityIndicatorView Example 1. Using storyboard.

In this example I am creating UIActivityIndicatorView and position it in the middle of the view using storyboard.