Apple and Samsung settle seven-year-long patent fight over copying the iPhone