How to add UI ImageView to UIScrollView in the code so that it is displayed in the center.
The scroll view fills a large area, and the average size of the UIImage view is about 40%.
imageView.center = scrollView.center How about?
How to add UI ImageView to UIScrollView in the code so that it is displayed in the center.
The scroll view fills a large area, and the average size of the UIImage view is about 40%.
How about imageView.center = scrollView.center?