Apple has agreed to let rival app stores and alternative payments operate on iPhones in Brazil, settling a long-running antitrust case. The deal with regulator CADE follows complaints from MercadoLibre and comes with warnings from Apple about privacy and security risks. Apple must act within 105 days or face fines.