init in VC and solve constraint in shareVC