//代码实现获得应用的Verison号:
<code style="padding: 0px; margin: 0px; white-space: nowrap; border: 0px; background-color: rgb(246, 246, 246); border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; vertical-align: baseline;"><span style="padding: 0px; margin: 0px; line-height: 25.200000762939453px; font-size: 14px;"><span class="pun" style="padding: 0px; margin: 0px; line-height: 25.200000762939453px; border: 0px; background-image: none; background-attachment: scroll; background-color: transparent; vertical-align: baseline; background-position: 0% 0%; background-repeat: repeat repeat;">[[[</span><span class="typ" style="padding: 0px; margin: 0px; line-height: 25.200000762939453px; color: rgb(43, 145, 175); border: 0px; background-image: none; background-attachment: scroll; background-color: transparent; vertical-align: baseline; background-position: 0% 0%; background-repeat: repeat repeat;">NSBundle</span><span class="pln" style="padding: 0px; margin: 0px; line-height: 25.200000762939453px; border: 0px; background-image: none; background-attachment: scroll; background-color: transparent; vertical-align: baseline; background-position: 0% 0%; background-repeat: repeat repeat;"> mainBundle</span><span class="pun" style="padding: 0px; margin: 0px; line-height: 25.200000762939453px; border: 0px; background-image: none; background-attachment: scroll; background-color: transparent; vertical-align: baseline; background-position: 0% 0%; background-repeat: repeat repeat;">]</span><span class="pln" style="padding: 0px; margin: 0px; line-height: 25.200000762939453px; border: 0px; background-image: none; background-attachment: scroll; background-color: transparent; vertical-align: baseline; background-position: 0% 0%; background-repeat: repeat repeat;"> infoDictionary</span><span class="pun" style="padding: 0px; margin: 0px; line-height: 25.200000762939453px; border: 0px; background-image: none; background-attachment: scroll; background-color: transparent; vertical-align: baseline; background-position: 0% 0%; background-repeat: repeat repeat;">]</span><span class="pln" style="padding: 0px; margin: 0px; line-height: 25.200000762939453px; border: 0px; background-image: none; background-attachment: scroll; background-color: transparent; vertical-align: baseline; background-position: 0% 0%; background-repeat: repeat repeat;"> objectForKey</span><span class="pun" style="padding: 0px; margin: 0px; line-height: 25.200000762939453px; border: 0px; background-image: none; background-attachment: scroll; background-color: transparent; vertical-align: baseline; background-position: 0% 0%; background-repeat: repeat repeat;">:@</span><span class="str" style="padding: 0px; margin: 0px; line-height: 25.200000762939453px; color: rgb(128, 0, 0); border: 0px; background-image: none; background-attachment: scroll; background-color: transparent; vertical-align: baseline; background-position: 0% 0%; background-repeat: repeat repeat;">"CFBundleShortVersionString"</span><span class="pun" style="padding: 0px; margin: 0px; line-height: 25.200000762939453px; border: 0px; background-image: none; background-attachment: scroll; background-color: transparent; vertical-align: baseline; background-position: 0% 0%; background-repeat: repeat repeat;">]</span></span></code>
//或
<code style="padding: 0px; margin: 0px; white-space: nowrap; border: 0px; background-color: rgb(246, 246, 246); border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; vertical-align: baseline;"><span style="padding: 0px; margin: 0px; line-height: 25.200000762939453px; font-size: 14px;"><span class="pun" style="padding: 0px; margin: 0px; line-height: 25.200000762939453px; border: 0px; background-image: none; background-attachment: scroll; background-color: transparent; vertical-align: baseline; background-position: 0% 0%; background-repeat: repeat repeat;">[[</span><span class="typ" style="padding: 0px; margin: 0px; line-height: 25.200000762939453px; color: rgb(43, 145, 175); border: 0px; background-image: none; background-attachment: scroll; background-color: transparent; vertical-align: baseline; background-position: 0% 0%; background-repeat: repeat repeat;">NSBundle</span><span class="pln" style="padding: 0px; margin: 0px; line-height: 25.200000762939453px; border: 0px; background-image: none; background-attachment: scroll; background-color: transparent; vertical-align: baseline; background-position: 0% 0%; background-repeat: repeat repeat;"> mainBundle</span><span class="pun" style="padding: 0px; margin: 0px; line-height: 25.200000762939453px; border: 0px; background-image: none; background-attachment: scroll; background-color: transparent; vertical-align: baseline; background-position: 0% 0%; background-repeat: repeat repeat;">]</span><span class="pln" style="padding: 0px; margin: 0px; line-height: 25.200000762939453px; border: 0px; background-image: none; background-attachment: scroll; background-color: transparent; vertical-align: baseline; background-position: 0% 0%; background-repeat: repeat repeat;"> objectForInfoDictionaryKey</span><span class="pun" style="padding: 0px; margin: 0px; line-height: 25.200000762939453px; border: 0px; background-image: none; background-attachment: scroll; background-color: transparent; vertical-align: baseline; background-position: 0% 0%; background-repeat: repeat repeat;">:@</span><span class="str" style="padding: 0px; margin: 0px; line-height: 25.200000762939453px; color: rgb(128, 0, 0); border: 0px; background-image: none; background-attachment: scroll; background-color: transparent; vertical-align: baseline; background-position: 0% 0%; background-repeat: repeat repeat;">"CFBundleShortVersionString"</span><span class="pun" style="padding: 0px; margin: 0px; line-height: 25.200000762939453px; border: 0px; background-image: none; background-attachment: scroll; background-color: transparent; vertical-align: baseline; background-position: 0% 0%; background-repeat: repeat repeat;">];</span></span></code>
<code style="padding: 0px; margin: 0px; white-space: nowrap; border: 0px; background-color: rgb(246, 246, 246); border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; vertical-align: baseline;"><span style="padding: 0px; margin: 0px; line-height: 25.200000762939453px; font-size: 14px;"><span class="pun" style="padding: 0px; margin: 0px; line-height: 25.200000762939453px; border: 0px; background-image: none; background-attachment: scroll; background-color: transparent; vertical-align: baseline; background-position: 0% 0%; background-repeat: repeat repeat;">[[[</span><span class="typ" style="padding: 0px; margin: 0px; line-height: 25.200000762939453px; color: rgb(43, 145, 175); border: 0px; background-image: none; background-attachment: scroll; background-color: transparent; vertical-align: baseline; background-position: 0% 0%; background-repeat: repeat repeat;">NSBundle</span><span class="pln" style="padding: 0px; margin: 0px; line-height: 25.200000762939453px; border: 0px; background-image: none; background-attachment: scroll; background-color: transparent; vertical-align: baseline; background-position: 0% 0%; background-repeat: repeat repeat;"> mainBundle</span><span class="pun" style="padding: 0px; margin: 0px; line-height: 25.200000762939453px; border: 0px; background-image: none; background-attachment: scroll; background-color: transparent; vertical-align: baseline; background-position: 0% 0%; background-repeat: repeat repeat;">]</span><span class="pln" style="padding: 0px; margin: 0px; line-height: 25.200000762939453px; border: 0px; background-image: none; background-attachment: scroll; background-color: transparent; vertical-align: baseline; background-position: 0% 0%; background-repeat: repeat repeat;"> infoDictionary</span><span class="pun" style="padding: 0px; margin: 0px; line-height: 25.200000762939453px; border: 0px; background-image: none; background-attachment: scroll; background-color: transparent; vertical-align: baseline; background-position: 0% 0%; background-repeat: repeat repeat;">]</span><span class="pln" style="padding: 0px; margin: 0px; line-height: 25.200000762939453px; border: 0px; background-image: none; background-attachment: scroll; background-color: transparent; vertical-align: baseline; background-position: 0% 0%; background-repeat: repeat repeat;"> objectForKey</span><span class="pun" style="padding: 0px; margin: 0px; line-height: 25.200000762939453px; border: 0px; background-image: none; background-attachment: scroll; background-color: transparent; vertical-align: baseline; background-position: 0% 0%; background-repeat: repeat repeat;">:@</span><span class="str" style="padding: 0px; margin: 0px; line-height: 25.200000762939453px; color: rgb(128, 0, 0); border: 0px; background-image: none; background-attachment: scroll; background-color: transparent; vertical-align: baseline; background-position: 0% 0%; background-repeat: repeat repeat;">"CFBundleVersion"</span><span class="pun" style="padding: 0px; margin: 0px; line-height: 25.200000762939453px; border: 0px; background-image: none; background-attachment: scroll; background-color: transparent; vertical-align: baseline; background-position: 0% 0%; background-repeat: repeat repeat;">]</span></span></code>