To see who visited your tik tok profile, you have to enable the tik tok profile view history option, to enable this option, follow the steps given below:
In your profile, tap on the three dots right side of your profile
Now, select the Settings and Privacy, then to Privacy
Then, tap on the Profile Views and turn on Profile Views History option
Thereafter, go to your profile and tap on eye icon, where you can who visited your profile