Is there any way to disable the sound when the user is typing on the keyboard.
Not if you are using the official iOS SDK. It may be possible using private frameworks, but your app would not be approved for sale on the iTunes App Store if you used them.