fill out the block from the ios branch. see [ios code](https://github.com/mit-cml/appinventor-sources/pull/3652/commits/c7419449031ed6d883abc00ee715d140f76ac2d7)