ios - Objective-c UIScrollView now scrolling nor vertically nor horizontally -


i don't understand why project doesn't work. can open window, scrollview wont scroll, means can't see bottom of ui. why? read answers similar questions didn't me fix issue.

this detailvc.h

@interface detailvc : uiviewcontroller { iboutlet uiimageview *iv_main, *iv_ratings; iboutlet uitextfield *tf_name, *tf_dob, *tf_age, *tf_weight, *tf_height,*tf_birthplace; iboutlet uitextview *tv_description; iboutlet uibutton *but_movies, *but_edit; iboutlet uinavigationbar *navbar; iboutlet uiscrollview *scrollview;  }  @property (nonatomic, retain) iboutlet uiimageview *iv_main, *iv_ratings; @property (nonatomic, retain) iboutlet uitextfield *tf_name, *tf_dob, *tf_age, *tf_weight, *tf_height, *tf_birthplace; @property (nonatomic, retain) iboutlet uitextview *tv_description; @property (nonatomic, retain) iboutlet uibutton *but_movies, *but_edit; @property (nonatomic, retain) iboutlet uinavigationbar *navbar; @property (nonatomic, retain) iboutlet uiscrollview *scrollview; @end 

this detailvc.m

 #import "detailvc.h"   @interface detailvc ()   @end   @implementation detailvc   @synthesize iv_main, iv_ratings, tf_age, tf_birthplace, tf_dob, tf_height, tf_name, tf_weight, tv_description, but_edit, but_movies,navbar, scrollview;   - (id)initwithnibname:(nsstring *)nibnameornil bundle:(nsbundle *)nibbundleornil { self = [super initwithnibname:nibnameornil bundle:nibbundleornil]; if (self) {     // custom initialization } return self;   }  - (void)viewdidload { [super viewdidload]; // additional setup after loading view nib. scrollview.contentsize = cgsizemake(320, 1000);  }  - (void)didreceivememorywarning { [super didreceivememorywarning]; // dispose of resources can recreated. }  @end 

------connection inspector
http://s18.postimg.org/qjzrdz9a1/schermata_2013_08_07_alle_16_47_19.png

------scroll view attributed inspector
http://s8.postimg.org/5eniaq8r9/schermata_2013_08_07_alle_17_35_04.png

is there chance frame of uiscrollview has same size contentsize? if yes, uiscrollview think has enough frame display of content.


Comments

Popular posts from this blog

Need help in packaging app using TideSDK on Windows -

java - Why does my date parsing return a weird date? -

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -