A dog can be bribed. A cat does as it pleases. You can still get a good photo, if you let the cat decide when.
1. Wait for the right moment
Take the photo when the cat is sitting in the window or has just woken up. Don't chase after it with your phone.
2. Down to eye level
Sit on the floor or hold the phone level with the cat's eyes. Photos taken from above make the head big and the body small.
3. Light from the window
Daylight from the side gives the fur shape and the eyes colour. Avoid flash. It gives glowing eyes and a cat that walks away.
4. Get the look
Hold a toy or rustle something just above the phone. Then the cat looks almost straight into the camera.
5. Take a burst
Hold down the shutter and take lots of photos. Then pick the one where the eyes are sharpest.
6. The whole head, both ears
Check that both ears and the whole chin are in the picture, and that the eyes are sharp. Dark fur needs more light, so move closer to the window.
There is more on what makes a good photo in the photo guide. Here you can see cat portraits.
Photo at the top: Martin Sanchez / Unsplash