How to realize a fluent FPS aiming function

Hi,everone,recently, I encountered a difficulty in making FPS.That is, how to achieve a smooth aiming function.I tried to modify the IK skeleton, use aiming animation, and use SetViewTargetWithBlend() to switch cameras, but the results were not very good.Now I need some idea, even if it is still the way mentioned above,please tell me your idea.