Created by Jerry Wang, last modified on Mar 17, 2014
可以使用下面代码取得profile type,或者检查全局变量cl_bsp_context=>c_page_instances.
![](https://img.laitimes.com/img/9ZDMuAjOiMmIsIjOiQnIsICMyYTMvw1dvwlMvwlM3VWaWV2Zh1Wa-cmbw5CO1gXO4IGMwM2MvwVM5QjNwMTMtUGall3LcVmdhNXLwRHdo9CXt92YucWbpRWdvx2Yx5yazF2Lc9CX6MHc0RHaiojIsJye.png)
如果profile是C,说明当前UI component运行在non-IC 环境下:
下面的截图是在IC环境下运行得到的, profile type为B:
可以使用下面代码取得profile type,或者检查全局变量cl_bsp_context=>c_page_instances.
如果profile是C,说明当前UI component运行在non-IC 环境下:
下面的截图是在IC环境下运行得到的, profile type为B: