I always travel alone, so it is not possible to take a photo of myself except selfies.
Some of my friends also travel alone, yet they frequently upload non-selfie photos of themselves on SNS. I asked how they took them and they answered they asked a stranger.
Now I wonder how I could ask a stranger to take a photo of myself, usually in front of a memorial place or in a cafe or restaurant. I feel it sounds impolite to ask it to a stranger; at least I would not feel good if asked, although I would certainly take anyway.
Also, they are all female; I'm male so I feel a bit nervous to ask a stranger just to take a photo... In most cultures, taking pictures of themselves seem to be considered a girl's thing, I think.
I also have slight fear of my iPhone being stolen once I hand it to them.
So with these points in mind, how could I ask a stranger to take a photo of me without offending them?
I'm 20s East Asian male traveling to Europe. I'm planning on visiting several countries: Poland, Ukraine, Baltic, Scandinavia, France, Italy, Czech, and Austria. I'm totally fine with getting answers that only reference specific countries.