I transitioned to a standing desk in my office but use my iPad when I need to sit to work. I frequently needed to type using my iPad and the Apple bluetooth keyboard was sufficient for that. However, I had multiple problems syncing between the keyboard and my computer and then back to my keyboard and iPad.
This Logitech keyboard (K811) solves all of my syncing problems. Right out of the box, I synced the keyboard to my Mac, my iPad and my iPhone. Now the keyboard remembers that it is permanently synced to these three devices and I can easily switch between these bluetooth devices. I highly recommend this keyboard.