Is there a way to set the scroll view offset that is inside the view controller programmatically?
I need to install it based on different conditions.
yes, you can set the contentOffset of your scrollview- And the code will be like this -
if(your Condition) { [scrollView setContentOffset:CGPointMake(0,-50) animated:YES]; }
Yes,
scrollView.contentOffset
Documentation: http://developer.apple.com/library/ios/#documentation/uikit/reference/UIScrollView_Class/Reference/UIScrollView.html
Source: https://habr.com/ru/post/926363/More articles:Celery vs DJs - pythonWhat does the Passbook magazine endpoint use? - iosWhy does adding an index to a database field speed up the search for this field? - databaseIs the width of an html element less than the sum of the width of the individual child elements? - jqueryJunit using ActivityInstrumentationTestCase2 - Conception Exception: Stub - androidFree up memory: how to delete variables when I put them on - VBA VB ACCESS - vbaReading XML resource file in WinRT Javascript application - javascriptSoftware Control UIScrollView - objective-cJersey client does not set Content-Length - javaHow to get given parameter values ββfrom sql server in application outside crm - c #All Articles