Add _elementOrElementsByType for iOS