In my application I have to implement the functionality of the horizontal scrollview. I have written code as follows:
coding of .h file
UIScrollView *HorizontalScroll;
@property (nonatomic,retain) IBOutlet UIScrollView *HorizontalScroll;
I have set its synthesize property. coding of .m file.
[HorizontalScroll setContentSize:CGSizeMake(330,69)];
[HorizontalScroll setFrame:CGRectMake(0,126,320,69)];
but it is not working.
in interface builder I have joined its outlet to file’s owner.
plz tell me modification or another code which helps me.
thanx in advance.
The entire code is perfect
I just shifted the code from viewWillAppear method to viewDidload method.
and its works fine