I want to use contentMode
property on MyScrollView
inherited from UIScrollView
.
Are there any effects to MyScrollView
by using contentMode
property?
Asked
Active
Viewed 24 times
0

tucan9389
- 168
- 2
- 10
-
What is the effect that you're after? – trndjc Apr 28 '18 at 05:36
-
@slickdaddy I'm just checking any side effects before using it for my own operation.. – tucan9389 Apr 28 '18 at 05:42
-
`contentMode` is not typically a property used on a scroll view, it's a property inherited from `UIView`. What is the purpose of using it in your case? – trndjc Apr 28 '18 at 05:45
-
Oh, I use for viewForZooming(in: UIScrollView)'s contentView's contentMode. It seems to be a better approach to create a new property. Thanks! – tucan9389 Apr 28 '18 at 05:48
-
Trial and error then. Try them all see how it effects your views. If it does nothing, don't add it. – trndjc Apr 28 '18 at 05:51