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 -

Socket.connect doesn't throw exception in Android -

iphone - How do I keep MDScrollView from truncating my row headers and making my cells look bad? -