I created an impulse:
impulse = frame.size.height/18
and gravity:
self.physicsWorld.gravity = CGVectorMake(0.0, -2.85)
and I use this code to apply the impulse to the player:
hond.physicsBody?.applyImpulse(CGVectorMake(0, impulse))
Now when I test it on the simulator, the player jumps higher on the iPhone 5s simulator and lower on the iPhone 6 or iPhone 6 plus simulator.
Why is this happening and how can I fix this?