Hi, my subview (childView) has a smaller width than the parent view.
[parentView addSubview:childView];
I'm wondering how I might be able to add this child centered horizontally (vertically I want it to remain the same) in the parent view. I'd like to do this in code. Right now it's adding but to the top left corner of the parent. any ideas?
Thanks!