Hi,
i´ve got a custom-UIScrollView-class. On the "- (id)initWithFrame:(CGRect)frame"-function i set different properties, but when i want to access a property like "self.zoomScale", it´s always "null".
Here´s my definition:
"@interface MyScrollView : UIScrollView <UIScrollViewDelegate> {.."
And here´s the .m-file:
...
- (id)initWithFrame:(CGRect)frame {
if ((self = [super initWithFrame:frame])) {
//setup etc.
[self setMaximumZoomScale:2.0f];
[self setMinimumZoomScale:1.0f];
//......
}
Any ideas on that? Would be great to know.. Thanks for your time.