update sample code
fix rotation bug
update sample code
update podspec