The scanner has advantages. I use a camera for doing pics with UV and LW lighting. It also works better for larger subjects.
If you want to use a camera, you will need to use a copy stand and then add lights for more even illumination.
This is what they look like. You can get some for smart phones and ipads.

I use an old enlarger stand and a DSLR camera with a macro capable lens.
Al