Made some tweaks for iOS.