The Samsung S20's charger cannot charge Apple devices. Because they have different charging protocols, and Apple has a system certified chip in all charging devices and slave devices. Chip authentication can not pass the authentication, plug is invalid. If you feel that Apple's official charger is too expensive, you can buy third-party products, although not cheap, but much cheaper than the official.
It can be used, but it requires an Apple cable