开发者

how to get the content size of a view

开发者 https://www.devze.com 2023-02-14 19:47 出处:网络
i am just beginner of iphone programming . i want to get size(full size) of content for scrollview can any one please provide me solution .

i am just beginner of iphone programming . i want to get size(full size) of content for scrollview can any one please provide me solution . 开发者_如何学Go Thanks and regards


UIScrollView has a content size property:

@property(nonatomic) CGSize contentSize

For future reference, I found this in the UIScrollView documentation.

0

精彩评论

暂无评论...
验证码 换一张
取 消