SAN FRANCISCO — Apple’s top corporate lawyer, Charles Charnas, has left the company.

Charnas wrote on Jan. 4, “Today is my last day at Apple,” in a brief e-mail he sent to the company’s law firms.