Using arduino nano as iphone controller

Hey all, I was recently looking into phone controllers for gaming. And I wanted to make my own.
Though i really can't find any information about making your own bluetooth controller using arduino.
Does anybody know some documentation or libray?

Thanks!