demo ios popup problem