Is there any equivalent of Firebase.push() method for iOS API which is available in API for Javascript or Java ?
I couldn't find it in API reference for iOS.
What I need is to push data to the new child location based on timestamp (I prefer server not client timestamp) and return that reference in the block.
Yes! We renamed it childByAutoId to be more consistent with iOS naming conventions, but it behaves the same as ref.push(). If you want to set data (equivalent of ref.push(data)), you can do [[ref childByAutoId] setValue:data]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With