Apple is facing a lawsuit accusing the company of falsely advertising the storage capacity available in its iPhones, iPads and iPods.

The lawsuit, filed Tuesday in the northern district of California, says the massive data footprint of the iOS 8 operating software eats into the advertised capacity of Apple’s mobile devices.

“In reality, nothing...