Since the allowframebreaks in the beamer has some side effects as put by Gonzalo Medina, so in his answer to "Beamer, framebreaks with different subtitles", he recommend that \only should be a substitute. The following is the example he gives
\documentclass{beamer}
%---------------------------------------------------------------%
\usepackage{graphics,tikz}
%---------------------------------------------------------------%
\begin{document}
%---------------------------------------------------------------%
\begin{frame}
\frametitle{Common title, appearing on all slides in one frame}
%------------------------------------------------------------ 1
\only<1>{
\framesubtitle{The first frame subtitle}
\begin{itemize}
\item some text on slide 1
\item some text
\item some text
\item \dots
\end{itemize}}
%------------------------------------------------------------ 2
\only<2>{
\framesubtitle{The second frame subtitle}
\begin{itemize}
\item some text on slide 2
\item some text
\item some text
\item \dots
\end{itemize}}
%---------------------------------------------------------------%
\end{document}
My question is : if I have a little more things related to the title "The second frame subtitle" in the \only<2>, so that they cannot be put in one frame, then what I can do? Are there some similar command like allowframebreaks that can be used locally ?