Hardwiring it will almost certainly solve the problem.
Wifi is finicky, just because the ps3 was good doesn't mean the ps4 will be. Could be placement, neighboring devices, etc.
Whenever you hear wifi and apartment in the same sentence, that's all you really need to know to narrow down what the issue is.
Edited by bd2003 - 12/12/13 at 10:00am