I have the line of code below... How would I modify it to insert the subview in the superview\'s view named \'foo\'?
[[self superview] addSubview:copy3];
You might just actually add it to 'view' instead of 'superview'.
[[self view] addSubview:mySubview];
It works just fine for me, whenever I add subviews to my parent view. Let me know if something went wrong.