It should probably be noted, however, that from what I understand, technically speaking, the only reason that piracy is possible in the first place is due to Apple's failures to prevent jailbreaking? iOS apps are encrypted and you need a jailbreak to decrypt them and redistribute them on shady websites. If Apple finally stomps jailbreaking out for good one day (which they are trying to do), then piracy should become impossible even if sideloading becomes an option.
See also: Xbox One has a developer mode that allows unsigned code execution, but that still doesn't allow for piracy because nobody's hacked the console, so nobody can obtain the game binaries to pirate.