An obscure loophole in the Apple iPhone operating system has opened the door for adult apps on the industry-leading device.