There was actually one pre-code tarzan movie that had nudity in it.
Yep, “Tarzan and his Mate” (1934). The best one. Jaw-droppingly violent at times. The nude swimming scene was restored in the 80s, I believe. It was probably clipped from most screenings even back in 1934, and assuredly not included in the many re-issue screenings.