Apple to record historic ios revenue faces lawsuit over ios apps