I remember when all I wanted was for my child to speak, and when he did, I wished I hadn't. It's a bit like the saying "Be careful what you wish for". I remember going food shopping and my child would grab something off the shelf. This is because all shops always place items at just the right level for your child to grab. If I tried to put it back, the screaming and tears would start and everyone in the shop would look at me and make me feel like a 'bad' mum. So what did I do? I gave it back to him to stop the noise.
Newborn babies, see their parents as an extension of themselves. Eventually as they develop, they realise they are a separate entity but unfortunately they still assume that the world revolves around them. This includes you as the parent.
One of the hardest lessons for children between the ages of one and two and half, is to learn that the world doesn't revolve around them. Unfortunately, this causes them to experience many emotional meltdowns, hence the term the terrible 'twos'. In most situations your child will try to see themselves as having power over you and their world. They feel a new lease of independence and hence wish to assert themselves. This dominates the bad behaviour.
Try to set limits and boundaries for your toddler. This will provide them with rules to follow for appropriate behaviour and keep them protected from danger.
You need to help your child feel protected and sheltered. This can only be done by teaching them to understand where their power finishes and yours starts.
Stand your ground and set those boundaries. Make sure both parents and other extended family members are on the same page, so the child can function in the wider community by following simple and consistent rules.