Cesar Quiroga
Cesar Quiroga

Reputation: 147

I need the height of the hidden in a scroll view Swift

Example image:

enter image description here

I need de height in color blue.

Upvotes: 0

Views: 213

Answers (1)

Shehata Gamal
Shehata Gamal

Reputation: 100541

You can try

let height = scrollView.contentOffset.y
print(height)

insert it inside scrollViewDidScroll

Upvotes: 1

Related Questions