Apple will soon allow alternative iOS app stores in Brazil after agreeing to settle an antitrust lawsuit in the country.