I just got approved for my uk ancestry visa I just wanted to know if I need to stay in the UK at least 6 continuous months each year or if I can leave, but I just can't be out of the country for more than 6 months at a time?
There is no specific restriction on the amount of time you must spend in the UK, unless you want to apply to settle after 5 years, in which case you must have spent no more than 180 days outside the UK in any 12 months of the last 5 years (known as ‘continuous residence’).
One aspect to consider is that the Immigration Rules relating to an Ancestry visa require you to demonstrate you can work and genuinely intend to take or seek employment in the UK. If your intended pattern of visits to the UK means that you won’t have a permanent job, you may find you are questioned by Immigration as to your intentions each time you return. If you don’t have employment, you are not allowed to claim public funds in the UK.