I don't swim, but I do make sure bring along the damn phone into the pool for 3 reasons, document the some bikinis, document the scene for hive content, and document how I break the diving record in case I choose to float 3 days later
https://www.amazon.com/waterproof-phone-case/s?k=waterproof+phone+case
Nothing is deeper than your nipples here, so you can always pretend swim with one leg on the bottom like my wife does 😉. Your comment reminds me of the Swiftwater Rescue Technician course I took in Colorado many years ago during my wilderness guiding days. While prepping for the course, the instructors made us view a photobook of rescues they've done, mostly dead body recovery. My whitewater kayaking days ended after that course because I realized how dangerous the sport truly is.
I accidentally dropped my phone in a meter of water last weekend while jumping from rock to rock, and to my surprised it survived, but my Otterbox case is not waterproof anymore after 5 years of wear and tear.