The present application relates to compounds according to (Formula IA) or (Formula IB): or a pharmaceutically acceptable salt thereof.The compounds can be used as inhibitors of RORγ and are useful for the treatment of RORγ mediated diseases.本申請案係有關(式IA)或(式IB)化合物: 或其醫藥上可接受鹽類。本發明化合物可作為RORγ抑制劑且適於治療RORγ介導之疾病。