iphone - iOS: At a specific coordinate, adding a UIView as subview of another UIView -
i have ten (x,y) coordinates values in nsinteger array. //yet implement
i want add series (10 array) of uiview on bigger uiview.
[self.mybiggerview addsubview:mysmallview];
i not getting how add mysmallview @ specific (my coordinate array) coordinate. please help
either after or before
[self.mybiggerview addsubview:mysmallview];
set frame of small view this:
mysmallview.frame = cgrectmake(coord1,coord2,width,height);
Comments
Post a Comment