プログラムによるflexibleWidth,flexibleHeight
self.targetView.frame = self.parentView.bounds
self.targetView.autoresizingMask = [ .flexibleWidth, .flexibleHeight ]