iOS demo subscribe add pre condition