frameとbounds

frameはsuperViewに対する位置、x, yはsuperViewによって変わる。
boundsはview自身に対する位置、x, yは常に0。
だからviewAのsubView viewBを作って、viewBはviewAを完全重合したい場合、viewB.frame = viewA.boundと書く。
因みに、viewを移動したり変形したり場合、frameは共に変化するが、boundsは変わらない。