I've been searching for a solution on this but I'm stumped... I have a UIView that I've initialized with a frame, and now I need to resize that frame, but I am having no luck at all:
Assuming that listItem_Y and listItem_Height both contain values (which they do) can anyone explain what I'm missing to resize the view?
primaryColumnListItems.frame = CGRectMake(0, 0, primaryColumnListItems.frame.size.width, listItem_Y + listItem_Height);
[primaryColumnListItems setFrame:CGRectMake(0, 0, primaryColumnListItems.frame.size.width, listItem_Y + listItem_Height)];
Neither variation开发者_高级运维 of bounds is working for me either.
Thanks
Never mind, I'm a goofball... It was a casting issue with values stored as ints needing to be typecast to CGFloats.
精彩评论