You're confusing CPU and memory pressure, and attributing blame to the wrong component.
Android's lack of smoothness is due to thread contention, whereas the iOS kernel uses a dedicated UI thread running at high priority. RAM size has no impact on UI performance, beyond a sufficient amount for the kernel.