[step:Use empirical measures to prove uniform convergence from unique ergodicity]Assume that $\mu$ is the unique $T$-invariant Borel probability measure. Let $f:X\to\mathbb{R}$ be continuous. Suppose, toward contradiction, that $A_Nf$ does not converge uniformly to the constant $\int_X f\,d\mu$. Then there exist $\varepsilon>0$, integers $N_j\to\infty$, and points $x_j\in X$ such that
\begin{align*}
\left|
\frac{1}{N_j}\sum_{n=0}^{N_j-1}f(T^n x_j)
-
\int_X f\,d\mu
\right|
\geq \varepsilon
\end{align*}
for every $j\in\mathbb{N}$.
For each $j$, define the empirical Borel probability measure
\begin{align*}
\nu_j:\mathcal{B}(X)&\to[0,1]\\
B&\mapsto \frac{1}{N_j}\sum_{n=0}^{N_j-1}\delta_{T^n x_j}(B),
\end{align*}
where $\delta_y$ is the Dirac probability measure at $y\in X$. Since $X$ is compact metrizable, the space $\mathcal{M}(X)$ of Borel probability measures on $X$ is weak-$*$ sequentially compact. Passing to a subsequence, still denoted $(\nu_j)$, there exists a Borel probability measure $\nu$ such that $\nu_j\to\nu$ in the weak-$*$ topology.
We show $\nu$ is $T$-invariant. Let $g:X\to\mathbb{R}$ be continuous. Then
\begin{align*}
\int_X g\circ T\,d\nu_j-\int_X g\,d\nu_j
&=
\frac{1}{N_j}\sum_{n=0}^{N_j-1}g(T^{n+1}x_j)
-
\frac{1}{N_j}\sum_{n=0}^{N_j-1}g(T^n x_j)\\
&=
\frac{g(T^{N_j}x_j)-g(x_j)}{N_j}.
\end{align*}
Since $g$ is continuous on compact $X$, the number $\|g\|_\infty:=\sup_{x\in X}|g(x)|$ is finite, and therefore
\begin{align*}
\left|
\int_X g\circ T\,d\nu_j-\int_X g\,d\nu_j
\right|
\leq \frac{2\|g\|_\infty}{N_j}\to0.
\end{align*}
Taking the limit along the weak-$*$ convergent subsequence gives
\begin{align*}
\int_X g\circ T\,d\nu=\int_X g\,d\nu
\end{align*}
for every continuous $g:X\to\mathbb{R}$. Hence $T_\#\nu=\nu$. By unique ergodicity, $\nu=\mu$.
But weak-$*$ convergence also gives
\begin{align*}
\frac{1}{N_j}\sum_{n=0}^{N_j-1}f(T^n x_j)
=
\int_X f\,d\nu_j
\to
\int_X f\,d\nu
=
\int_X f\,d\mu,
\end{align*}
contradicting the inequality with $\varepsilon$. Therefore $A_Nf\to\int_X f\,d\mu$ uniformly on $X$.[/step]