Good day. They put the puzzle and I was driven into a dead end. I need to be able to notify the user about a program update in a manner similar to Chrome for iOS.
Those. The application should notify the user about the update when it will use the program here. 
Make pop-ups or any other trivia. The problem is that I don’t know how to ask the AppStore if there is an update or not.
Open the AppStore by the button, when determining that there is a new version is also not a problem.