Sharing and printing is working strang in iOS

I am working on app which use printing and sharing functionality. I have setup both printing and sharing successfully i.e working fine in Android but not work in iOS. in IOS it behave strange. it work when I click on print icon and after that again click on status bar again. Please suggest what i am doing wrong here.