uitableview - Image View in Auto Layout using SDWebImage in Storyboards -



uitableview - Image View in Auto Layout using SDWebImage in Storyboards -

i'm having no luck getting image , uiimageview show right size in custom uitableviewcell. image correct, place in uitableviewcell not, , isn't close.

i don't have plenty reputation points post images sadly.

i have suggested constraints xcode 6 added or suggested, image showing huge , in front end of in uitableviewcell.

here's code have related it.

viewcontroller.m

self.tableview.rowheight = uitableviewautomaticdimension; self.tableview.estimatedrowheight = 600.0; nsstring *imageurl = [nsstring stringwithformat:@"%@", standardresolutionlocal.url]; __weak uitableviewcell *wcell = api2cell; [wcell.imageview sd_setimagewithurl:[nsurl urlwithstring:imageurl] placeholderimage:[uiimage imagenamed:@"320x180.gif"] ];

customtableviewcell.m

- (void)layoutsubviews { [super layoutsubviews]; [self.imageviewpic settranslatesautoresizingmaskintoconstraints:yes]; }

i'm using ios 8, xcode 6, , sdwebimage via cocoapods. help appreciated, thanks!

uitableview uiimageview storyboard sdwebimage

Comments

Popular posts from this blog

maven fortify plugin : Unable to load build session with ID XXXXX .. See log file for more details -

c# - Primavera WebServices does not return any data -

android - Display emoji panel with genymotion - keyboard/touch input? -