uibutton - iPhone SDK: Buttons and Labels causing UIScrollView to not scroll -


i have been dealing day , cant find heck going wrong. have scrollview inside viewcontroller, when add label or button view scroll view stops scrolling. standard i've done hundred of times reason acting now. hope can help.

.h

@interface test : uiviewcontroller{      iboutlet uiscrollview *scrollview;   }  -(ibaction)goback;  @end 

.m

@interface test ()  @end  @implementation test  - (id)initwithnibname:(nsstring *)nibnameornil bundle:(nsbundle *)nibbundleornil {     self = [super initwithnibname:nibnameornil bundle:nibbundleornil];     if (self) {         // custom initialization     }     return self; }  - (void)viewdidappear:(bool)animated {     [super viewdidappear:animated];     scrollview.contentsize=cgsizemake(320.0,1100.0);  }  -(ibaction)goback {     [self dismissmodalviewcontrolleranimated:yes]; }  - (void)didreceivememorywarning {     [super didreceivememorywarning];     // dispose of resources can recreated. }  @end 


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -