<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7853593783382609238</id><updated>2024-10-04T19:22:09.444-07:00</updated><category term="Iphone"/><category term="NSString"/><category term="UITabbar"/><category term="MKMap"/><category term="Audio/Video"/><category term="CLLocation"/><category term="NSUserDefault"/><category term="UIAlertView"/><category term="AVFoundation Framework"/><category term="AddressBook"/><category term="NSArray"/><category term="NSDate"/><category term="NSPredicate"/><category term="NSTimer"/><category term="Push Notification"/><category term="Quartz framework"/><category term="Rotation"/><category term="SQlite"/><category term="Store file in Documant"/><category term="Twitter"/><category term="UIActivity"/><category term="UIApplication"/><category term="UIButton"/><category term="UIColor"/><category term="UIImageView"/><category term="UIPickerView"/><category term="UIView"/><category term="UIWebView"/><category term="ipad"/><title type='text'>IPhone Desk</title><subtitle type='html'>Here To Help!</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://deskiphone.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://deskiphone.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>HELLO INDIA</name><uri>http://www.blogger.com/profile/08133044332996902234</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmEcLGzGzN-6z4LlzmXqvirp70rXjssELUgZlPi4XOD9EfgNSEL6YDVbCoGIPEi0dEQATiYBpMLnFpA0crWm5qMw9PtwHA_xYTIFkFCKeQy1dwgnJX4ojxTTvPosoTdyg/s220/Apple.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>51</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7853593783382609238.post-2554869048937790937</id><published>2011-11-05T02:41:00.000-07:00</published><updated>2012-02-26T00:04:33.904-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ipad"/><category scheme="http://www.blogger.com/atom/ns#" term="Iphone"/><category scheme="http://www.blogger.com/atom/ns#" term="SQlite"/><title type='text'>How to attach database with other database in SQLite</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;To Attach DB with another DB, i use below code................&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&lt;b&gt;Create first database:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;[&lt;span style=&quot;color: #760f50;&quot;&gt;self&lt;/span&gt; &lt;span style=&quot;color: #26474b;&quot;&gt;createEditableCopyOfDatabaseIfNeeded&lt;/span&gt;];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&lt;b&gt;Create second database:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;[&lt;span style=&quot;color: #760f50;&quot;&gt;self&lt;/span&gt; &lt;span style=&quot;color: #26474b;&quot;&gt;createEditableCopyOfDatabaseIfNeeded_New&lt;/span&gt;];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&lt;b&gt;Attach Database second with first:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;[&lt;span style=&quot;color: #760f50;&quot;&gt;self&lt;/span&gt; &lt;span style=&quot;color: #26474b;&quot;&gt;AttachDB&lt;/span&gt;];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&lt;b&gt;use of both data base in single SQL:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;[&lt;span style=&quot;color: #760f50;&quot;&gt;self&lt;/span&gt;
inserttblData];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;-(&lt;span style=&quot;color: #760f50;&quot;&gt;void&lt;/span&gt;)&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #26474b; font-family: Menlo-Regular; font-size: 16px;&quot;&gt;AttachDB&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #760f50;&quot;&gt;BOOL&lt;/span&gt; success;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #5c2699;&quot;&gt;NSFileManager&lt;/span&gt; *fileManager=[[&lt;span style=&quot;color: #5c2699;&quot;&gt;NSFileManager&lt;/span&gt; &lt;span style=&quot;color: #2e0d6e;&quot;&gt;defaultManager&lt;/span&gt;]&lt;span style=&quot;color: #2e0d6e;&quot;&gt;autorelease&lt;/span&gt;];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #5c2699;&quot;&gt;NSArray&lt;/span&gt; *paths= &lt;span style=&quot;color: #2e0d6e;&quot;&gt;NSSearchPathForDirectoriesInDomains&lt;/span&gt;(&lt;span style=&quot;color: #2e0d6e;&quot;&gt;NSDocumentDirectory&lt;/span&gt;, &lt;span style=&quot;color: #2e0d6e;&quot;&gt;NSUserDomainMask&lt;/span&gt;,
&lt;span style=&quot;color: #760f50;&quot;&gt;YES&lt;/span&gt;);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; success
= [fileManager &lt;span style=&quot;color: #2e0d6e;&quot;&gt;fileExistsAtPath&lt;/span&gt;:[[paths &lt;span style=&quot;color: #2e0d6e;&quot;&gt;objectAtIndex&lt;/span&gt;:&lt;span style=&quot;color: blue;&quot;&gt;0&lt;/span&gt;] &lt;span style=&quot;color: #2e0d6e;&quot;&gt;stringByAppendingPathComponent&lt;/span&gt;:&lt;span style=&quot;color: #891315;&quot;&gt;@&quot;database2.sqlite3&quot;&lt;/span&gt;]];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #760f50;&quot;&gt;if&lt;/span&gt;(success)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #5c2699;&quot;&gt;NSString&lt;/span&gt; *sql = [&lt;span style=&quot;color: #5c2699;&quot;&gt;NSString&lt;/span&gt;
&lt;span style=&quot;color: #2e0d6e;&quot;&gt;stringWithFormat&lt;/span&gt;:&lt;span style=&quot;color: #891315;&quot;&gt;@&quot;ATTACH
DATABASE \&quot;%@\&quot; AS newdb&quot;&lt;/span&gt;,[[paths &lt;span style=&quot;color: #2e0d6e;&quot;&gt;objectAtIndex&lt;/span&gt;:&lt;span style=&quot;color: blue;&quot;&gt;0&lt;/span&gt;] &lt;span style=&quot;color: #2e0d6e;&quot;&gt;stringByAppendingPathComponent&lt;/span&gt;:&lt;span style=&quot;color: #891315;&quot;&gt;@&quot;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #891315; font-family: Menlo-Regular; font-size: 16px;&quot;&gt;database2&lt;/span&gt;&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&lt;span style=&quot;color: #891315;&quot;&gt;.sqlite3&quot;&lt;/span&gt;]];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Menlo-Regular; font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Menlo-Regular; font-size: 16px;&quot;&gt;//
here database is an sqlite object and which refer database1&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #760f50;&quot;&gt;int&lt;/span&gt; intReturnValue = &lt;span style=&quot;color: #2e0d6e;&quot;&gt;sqlite3_exec&lt;/span&gt;(&lt;span style=&quot;color: #3f6e74;&quot;&gt;database&lt;/span&gt;, [sql &lt;span style=&quot;color: #2e0d6e;&quot;&gt;UTF8String&lt;/span&gt;],
&lt;span style=&quot;color: #760f50;&quot;&gt;NULL&lt;/span&gt;, &lt;span style=&quot;color: #760f50;&quot;&gt;NULL&lt;/span&gt;,
&lt;span style=&quot;color: #760f50;&quot;&gt;NULL&lt;/span&gt;);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #760f50;&quot;&gt;if&lt;/span&gt;(intReturnValue == &lt;span style=&quot;color: blue;&quot;&gt;1&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #643820;&quot;&gt;NSAssert1&lt;/span&gt;(&lt;span style=&quot;color: blue;&quot;&gt;0&lt;/span&gt;, &lt;span style=&quot;color: #891315;&quot;&gt;@&quot;Error: failed to attach database with message &#39;%s&#39;.&quot;&lt;/span&gt;, &lt;span style=&quot;color: #2e0d6e;&quot;&gt;sqlite3_errmsg&lt;/span&gt;(&lt;span style=&quot;color: #3f6e74;&quot;&gt;database&lt;/span&gt;));&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #760f50;&quot;&gt;else&lt;/span&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #2e0d6e;&quot;&gt;NSLog&lt;/span&gt;(&lt;span style=&quot;color: #891315;&quot;&gt;@&quot;Done&quot;&lt;/span&gt;);&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;-(&lt;span style=&quot;color: #760f50;&quot;&gt;int&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Menlo-Regular; font-size: 16px;&quot;&gt;inserttblData&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #760f50;&quot;&gt;int&lt;/span&gt; i=&lt;span style=&quot;color: blue;&quot;&gt;0&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #760f50;&quot;&gt;@try&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #5c2699;&quot;&gt;sqlite3_stmt&lt;/span&gt; *statement=&lt;span style=&quot;color: #760f50;&quot;&gt;nil&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #5c2699;&quot;&gt;NSString&lt;/span&gt;&amp;nbsp;
*sql=&lt;span style=&quot;color: #760f50;&quot;&gt;nil&lt;/span&gt;;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sql=[&lt;span style=&quot;color: #5c2699;&quot;&gt;NSString&lt;/span&gt; &lt;span style=&quot;color: #2e0d6e;&quot;&gt;stringWithFormat&lt;/span&gt;:&lt;span style=&quot;color: #891315;&quot;&gt;@&quot;INSERT INTO testtable1 SELECT * FROM newdb.testtable2&quot;&lt;/span&gt;];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #760f50;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #2e0d6e;&quot;&gt;sqlite3_prepare_v2&lt;/span&gt;(&lt;span style=&quot;color: #3f6e74;&quot;&gt;database&lt;/span&gt;, [sql &lt;span style=&quot;color: #2e0d6e;&quot;&gt;UTF8String&lt;/span&gt;],
-&lt;span style=&quot;color: blue;&quot;&gt;1&lt;/span&gt;, &amp;amp;statement, &lt;span style=&quot;color: #760f50;&quot;&gt;NULL&lt;/span&gt;)!=&lt;span style=&quot;color: #643820;&quot;&gt;SQLITE_OK&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #643820;&quot;&gt;NSAssert1&lt;/span&gt;(&lt;span style=&quot;color: blue;&quot;&gt;0&lt;/span&gt;, &lt;span style=&quot;color: #891315;&quot;&gt;@&quot;Error: failed to insertstatement with message
&#39;%s&#39;.&quot;&lt;/span&gt;, &lt;span style=&quot;color: #2e0d6e;&quot;&gt;sqlite3_errmsg&lt;/span&gt;(&lt;span style=&quot;color: #3f6e74;&quot;&gt;database&lt;/span&gt;));&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #760f50;&quot;&gt;int&lt;/span&gt; success=&lt;span style=&quot;color: #2e0d6e;&quot;&gt;sqlite3_step&lt;/span&gt;(statement);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #760f50;&quot;&gt;if&lt;/span&gt; (success == &lt;span style=&quot;color: #643820;&quot;&gt;SQLITE_ERROR&lt;/span&gt;)
&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #643820;&quot;&gt;NSAssert1&lt;/span&gt;(&lt;span style=&quot;color: blue;&quot;&gt;0&lt;/span&gt;, &lt;span style=&quot;color: #891315;&quot;&gt;@&quot;Error: failed to insert into the database with message
&#39;%s&#39;.&quot;&lt;/span&gt;, &lt;span style=&quot;color: #2e0d6e;&quot;&gt;sqlite3_errmsg&lt;/span&gt;(&lt;span style=&quot;color: #3f6e74;&quot;&gt;database&lt;/span&gt;));&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Menlo-Regular; font-size: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #2e0d6e; font-family: Menlo-Regular; font-size: 16px;&quot;&gt;sqlite3_finalize&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Menlo-Regular; font-size: 16px;&quot;&gt;(statement);&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #760f50;&quot;&gt;return&lt;/span&gt; i;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #760f50;&quot;&gt;@catch&lt;/span&gt; (&lt;span style=&quot;color: #5c2699;&quot;&gt;NSException&lt;/span&gt;
*e) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #760f50;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;0&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #760f50;&quot;&gt;return&lt;/span&gt; i;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&lt;b&gt;If you got any new way and get problem, write here.......&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;Thx,&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deskiphone.blogspot.com/feeds/2554869048937790937/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://deskiphone.blogspot.com/2011/11/how-to-attach-database-with-other.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/2554869048937790937'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/2554869048937790937'/><link rel='alternate' type='text/html' href='http://deskiphone.blogspot.com/2011/11/how-to-attach-database-with-other.html' title='How to attach database with other database in SQLite'/><author><name>HELLO INDIA</name><uri>http://www.blogger.com/profile/08133044332996902234</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmEcLGzGzN-6z4LlzmXqvirp70rXjssELUgZlPi4XOD9EfgNSEL6YDVbCoGIPEi0dEQATiYBpMLnFpA0crWm5qMw9PtwHA_xYTIFkFCKeQy1dwgnJX4ojxTTvPosoTdyg/s220/Apple.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853593783382609238.post-7216687904144945748</id><published>2011-09-18T02:23:00.000-07:00</published><updated>2011-09-18T02:24:13.182-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="UITabbar"/><title type='text'>Add and Remove Tabbar item Run Time</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Times-Roman, serif; font-size: 12pt;&quot;&gt;In ios sdk, some time we need to
insert/delete tab bar item run time. So In this case, we can add and remove tab
bar items by following below code.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #425bff; font-family: Times-Roman, serif;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #425bff; font-family: Times-Roman, serif;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;u&gt;&lt;span style=&quot;color: #425bff; font-family: Times-Roman, serif; font-size: 12pt;&quot;&gt;// Remove and Add Tab bar item
from tabbar controller at run time:&lt;/span&gt;&lt;/u&gt;&lt;span style=&quot;font-family: Times-Roman, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;-(&lt;span style=&quot;color: #760f50;&quot;&gt;IBAction&lt;/span&gt;)
RemoveTab:(&lt;span style=&quot;color: #760f50;&quot;&gt;id&lt;/span&gt;)sender&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #5c2699;&quot;&gt;UIViewController&lt;/span&gt; *itemToRemove = &lt;span style=&quot;color: #760f50;&quot;&gt;nil&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;span style=&quot;color: #5c2699;&quot;&gt;NSMutableArray&lt;/span&gt; *newItems = [&lt;span style=&quot;color: #5c2699;&quot;&gt;NSMutableArray&lt;/span&gt; &lt;span style=&quot;color: #2e0d6e;&quot;&gt;arrayWithArray&lt;/span&gt;:&lt;span style=&quot;color: #760f50;&quot;&gt;self&lt;/span&gt;.&lt;span style=&quot;color: #5c2699;&quot;&gt;tabBarController&lt;/span&gt;.&lt;span style=&quot;color: #2e0d6e;&quot;&gt;viewControllers&lt;/span&gt;];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;span style=&quot;color: #760f50;&quot;&gt;for&lt;/span&gt; (&lt;span style=&quot;color: #5c2699;&quot;&gt;UIViewController&lt;/span&gt;
*aView &lt;span style=&quot;color: #760f50;&quot;&gt;in&lt;/span&gt; newItems) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #760f50;&quot;&gt;if&lt;/span&gt;
([[[aView &lt;span style=&quot;color: #2e0d6e;&quot;&gt;class&lt;/span&gt;] &lt;span style=&quot;color: #2e0d6e;&quot;&gt;description&lt;/span&gt;]
&lt;span style=&quot;color: #2e0d6e;&quot;&gt;isEqualToString&lt;/span&gt;:&lt;span style=&quot;color: #891315;&quot;&gt;@&quot;FirstViewController&quot;&lt;/span&gt;])&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #236e25;&quot;&gt;//store this item
to remove later&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;itemToRemove = aView;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;span style=&quot;color: #760f50;&quot;&gt;if&lt;/span&gt; (itemToRemove)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
[newItems &lt;span style=&quot;color: #2e0d6e;&quot;&gt;removeObject&lt;/span&gt;:itemToRemove];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;u&gt;&lt;span style=&quot;color: #425bff; font-family: Times-Roman, serif; font-size: 12pt;&quot;&gt;// Add&amp;nbsp; Tab bar item in tabbar controller at run
time:&lt;/span&gt;&lt;/u&gt;&lt;span style=&quot;font-family: Times-Roman, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;-(&lt;span style=&quot;color: #760f50;&quot;&gt;IBAction&lt;/span&gt;)
AddTab:(&lt;span style=&quot;color: #760f50;&quot;&gt;id&lt;/span&gt;)sender&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #5c2699;&quot;&gt;NSMutableArray&lt;/span&gt;
*newItems = [&lt;span style=&quot;color: #5c2699;&quot;&gt;NSMutableArray&lt;/span&gt; &lt;span style=&quot;color: #2e0d6e;&quot;&gt;arrayWithArray&lt;/span&gt;:&lt;span style=&quot;color: #760f50;&quot;&gt;self&lt;/span&gt;.&lt;span style=&quot;color: #5c2699;&quot;&gt;tabBarController&lt;/span&gt;.&lt;span style=&quot;color: #2e0d6e;&quot;&gt;viewControllers&lt;/span&gt;];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: #236e25; font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;//Add New ViewController&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #5c2699;&quot;&gt;UITabBarItem&lt;/span&gt;
*obj = [[&lt;span style=&quot;color: #3f6e74;&quot;&gt;FirstViewController&lt;/span&gt; &lt;span style=&quot;color: #2e0d6e;&quot;&gt;alloc&lt;/span&gt;] &lt;span style=&quot;color: #2e0d6e;&quot;&gt;init&lt;/span&gt;];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: #236e25; font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;// or use below&lt;/span&gt;&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //&lt;span style=&quot;color: #236e25;&quot;&gt;UITabBarItem *obj = [[FirstViewController alloc]
initWithNibName:@&quot;FirstViewController&quot; bundle:nil];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; [newItems &lt;span style=&quot;color: #2e0d6e;&quot;&gt;addObject&lt;/span&gt;:obj];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; obj.&lt;span style=&quot;color: #5c2699;&quot;&gt;title&lt;/span&gt; = &lt;span style=&quot;color: #891315;&quot;&gt;@&quot;First&quot;&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [obj
&lt;span style=&quot;color: #2e0d6e;&quot;&gt;release&lt;/span&gt;];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;span style=&quot;color: #760f50;&quot;&gt;self&lt;/span&gt;.&lt;span style=&quot;color: #5c2699;&quot;&gt;tabBarController&lt;/span&gt;
&lt;span style=&quot;color: #2e0d6e;&quot;&gt;setViewControllers&lt;/span&gt;:newItems];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular; font-size: 12pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Times-Roman, serif; font-size: 12pt;&quot;&gt;This code has worked perfectly
for me, but if you have any problem inform me.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Times-Roman, serif; font-size: 12pt;&quot;&gt;Or get any new or more efficient
way.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Times-Roman, serif; font-size: 12pt;&quot;&gt;Thanks……………..&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://deskiphone.blogspot.com/feeds/7216687904144945748/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://deskiphone.blogspot.com/2011/09/add-and-remove-tabbar-item-run-time.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/7216687904144945748'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/7216687904144945748'/><link rel='alternate' type='text/html' href='http://deskiphone.blogspot.com/2011/09/add-and-remove-tabbar-item-run-time.html' title='Add and Remove Tabbar item Run Time'/><author><name>HELLO INDIA</name><uri>http://www.blogger.com/profile/08133044332996902234</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmEcLGzGzN-6z4LlzmXqvirp70rXjssELUgZlPi4XOD9EfgNSEL6YDVbCoGIPEi0dEQATiYBpMLnFpA0crWm5qMw9PtwHA_xYTIFkFCKeQy1dwgnJX4ojxTTvPosoTdyg/s220/Apple.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853593783382609238.post-7976974980110268828</id><published>2011-09-18T02:22:00.001-07:00</published><updated>2011-09-18T02:24:39.289-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Push Notification"/><title type='text'>HOW TO CREATE PUSH NOTIFICATION CERTIFICATE:</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;I follow the below link to create IOS push
notification certificate. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;&lt;a href=&quot;http://iphonesdkdev.blogspot.com/2009/04/apns-client-development-certificate.html&quot;&gt;http://iphonesdkdev.blogspot.com/2009/04/apns-client-development-certificate.html&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: 12pt; line-height: 115%;&quot;&gt;Thanks……………………&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://deskiphone.blogspot.com/feeds/7976974980110268828/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://deskiphone.blogspot.com/2011/09/how-to-create-push-notification.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/7976974980110268828'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/7976974980110268828'/><link rel='alternate' type='text/html' href='http://deskiphone.blogspot.com/2011/09/how-to-create-push-notification.html' title='HOW TO CREATE PUSH NOTIFICATION CERTIFICATE:'/><author><name>HELLO INDIA</name><uri>http://www.blogger.com/profile/08133044332996902234</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmEcLGzGzN-6z4LlzmXqvirp70rXjssELUgZlPi4XOD9EfgNSEL6YDVbCoGIPEi0dEQATiYBpMLnFpA0crWm5qMw9PtwHA_xYTIFkFCKeQy1dwgnJX4ojxTTvPosoTdyg/s220/Apple.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853593783382609238.post-2186392516526749967</id><published>2011-09-18T02:21:00.000-07:00</published><updated>2011-09-18T02:25:02.409-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="UIPickerView"/><title type='text'>Horizontal Picker</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
use below statement to make picker&amp;nbsp;horizontal:&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 28.0pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Menlo-Regular;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 28.0pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Menlo-Regular;&quot;&gt;picker.transform =
CGAffineTransformMakeRotation(M_PI+M_PI_2);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 28.0pt; text-autospace: none;&quot;&gt;
picker.frame = CGRectMake(80,10 ,150,44);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 28.0pt; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 28.0pt; text-autospace: none;&quot;&gt;
Delegate and Data source function of picker:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 28.0pt; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 28.0pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Menlo-Regular;&quot;&gt;- (UIView
*)pickerView:(UIPickerView *)pickerView viewForRow:(NSInteger)row
forComponent:(NSInteger)component reusingView:(UIView *)view&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 28.0pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Menlo-Regular;&quot;&gt;{&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 28.0pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UILabel *label = [[UILabel alloc]
initWithFrame:CGRectMake(0, 0, 150, 20)];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 28.0pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 28.0pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; label.text = @&quot;miles&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 28.0pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; label.textAlignment = UITextAlignmentCenter;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 28.0pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; label.textColor = [UIColor blackColor];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 28.0pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; label.font = [UIFont systemFontOfSize:13];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 28.0pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; label.backgroundColor = [UIColor clearColor];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 28.0pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; label.opaque = NO;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 28.0pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 28.0pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CGAffineTransform rotate =
CGAffineTransformMakeRotation(1.57);&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 28.0pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Menlo-Regular;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;[label setTransform:rotate]; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 28.0pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return label;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 28.0pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 28.0pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Menlo-Regular;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 28.0pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Menlo-Regular;&quot;&gt;-
(CGFloat)pickerView:(UIPickerView *)pickerView
widthForComponent:(NSInteger)component&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 28.0pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Menlo-Regular;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 28.0pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return 30;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 28.0pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Menlo-Regular;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 28.0pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Menlo-Regular;&quot;&gt;-
(CGFloat)pickerView:(UIPickerView *)pickerView
rowHeightForComponent:(NSInteger)component&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 28.0pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Menlo-Regular;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 28.0pt; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return 80;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 28.0pt; text-autospace: none;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Menlo-Regular;&quot;&gt;}&lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://deskiphone.blogspot.com/feeds/2186392516526749967/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://deskiphone.blogspot.com/2011/09/horizontal-picker.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/2186392516526749967'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/2186392516526749967'/><link rel='alternate' type='text/html' href='http://deskiphone.blogspot.com/2011/09/horizontal-picker.html' title='Horizontal Picker'/><author><name>HELLO INDIA</name><uri>http://www.blogger.com/profile/08133044332996902234</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmEcLGzGzN-6z4LlzmXqvirp70rXjssELUgZlPi4XOD9EfgNSEL6YDVbCoGIPEi0dEQATiYBpMLnFpA0crWm5qMw9PtwHA_xYTIFkFCKeQy1dwgnJX4ojxTTvPosoTdyg/s220/Apple.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853593783382609238.post-5999562001380122099</id><published>2011-09-18T01:52:00.000-07:00</published><updated>2011-09-18T02:25:23.320-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="NSString"/><title type='text'>Get String From HTML String</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
- (NSString *)flattenHTML:(NSString *)htmlstr&lt;br /&gt;
{&lt;br /&gt;
NSScanner *theScanner;&lt;br /&gt;
NSString *text = nil;&lt;br /&gt;
theScanner = [NSScanner scannerWithString:&amp;nbsp;htmlstr];&lt;br /&gt;
while ([theScanner isAtEnd] == NO) {&lt;br /&gt;
// find start of tag&lt;br /&gt;
[theScanner scanUpToString:@&quot;&amp;lt;&quot; intoString:NULL] ;&lt;br /&gt;
// find end of tag&lt;br /&gt;
[theScanner scanUpToString:@&quot;&amp;gt;&quot; intoString:&amp;amp;text] ;&lt;br /&gt;
// replace the found tag with a space&lt;br /&gt;
//(you can filter multi-spaces out later if you wish)&lt;br /&gt;
htmlstr&amp;nbsp;= [htmlstr&amp;nbsp;stringByReplacingOccurrencesOfString:&lt;br /&gt;
[ NSString stringWithFormat:@&quot;%@&amp;gt;&quot;, text]&lt;br /&gt;
withString:@&quot; &quot;];&lt;br /&gt;
} // while //&lt;br /&gt;
htmlstr=[htmlstr&amp;nbsp;stringByReplacingOccurrencesOfString:@&quot;&amp;nbsp;&quot; withString:@&quot; &quot;];&lt;br /&gt;
htmlstr=[htmlstr&amp;nbsp;stringByReplacingOccurrencesOfString:@&quot;\n&quot; withString:@&quot;&quot;];&lt;br /&gt;
htmlstr=[htmlstr&amp;nbsp;stringByReplacingOccurrencesOfString:@&quot;\r&quot; withString:@&quot;&quot;];&lt;br /&gt;
NSCharacterSet *set = [NSCharacterSet characterSetWithCharactersInString:@&quot; &quot;];&lt;br /&gt;
htmlstr&amp;nbsp;=[htmlstr&amp;nbsp;stringByTrimmingCharactersInSet:set]retain];&lt;br /&gt;
return&amp;nbsp;htmlstr;&lt;br /&gt;
}&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://deskiphone.blogspot.com/feeds/5999562001380122099/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://deskiphone.blogspot.com/2011/09/get-string-from-html-string.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/5999562001380122099'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/5999562001380122099'/><link rel='alternate' type='text/html' href='http://deskiphone.blogspot.com/2011/09/get-string-from-html-string.html' title='Get String From HTML String'/><author><name>HELLO INDIA</name><uri>http://www.blogger.com/profile/08133044332996902234</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmEcLGzGzN-6z4LlzmXqvirp70rXjssELUgZlPi4XOD9EfgNSEL6YDVbCoGIPEi0dEQATiYBpMLnFpA0crWm5qMw9PtwHA_xYTIFkFCKeQy1dwgnJX4ojxTTvPosoTdyg/s220/Apple.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853593783382609238.post-8862587162785402477</id><published>2011-09-18T01:49:00.000-07:00</published><updated>2011-09-18T02:26:30.688-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Audio/Video"/><category scheme="http://www.blogger.com/atom/ns#" term="AVFoundation Framework"/><title type='text'>How to Capture Video thumbnail from video URL</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
Include the Following Framework in project:&lt;br /&gt;
AVFoundation.framework&lt;br /&gt;
CoreMedia.framework&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- (void) CaptureThumnailImageFromVideoURl&lt;br /&gt;
{&lt;br /&gt;
// NSURL *url = [NSURL URLWithString:@&quot;http://videos.imotors.com/videos/1onONE/1onONE_intro_new.mp4&quot;];&lt;br /&gt;
NSURL *url = [NSURL URLWithString:@&quot;http://videos.imotors.com/videos/Top200/Top200_2010_Audi_A8.mp4&quot;];&lt;br /&gt;
AVURLAsset *asset=[[AVURLAsset alloc] initWithURL:url options:nil];&lt;br /&gt;
AVAssetImageGenerator *generator = [[AVAssetImageGenerator alloc] initWithAsset:asset];&lt;br /&gt;
generator.appliesPreferredTrackTransform=TRUE;&lt;br /&gt;
[asset release];&lt;br /&gt;
CMTime thumbTime = CMTimeMakeWithSeconds(0,15);&lt;br /&gt;
AVAssetImageGeneratorCompletionHandler handler = ^(CMTime requestedTime, CGImageRef img, CMTime actualTime, AVAssetImageGeneratorResult result, NSError *error){&lt;br /&gt;
if (result != AVAssetImageGeneratorSucceeded) {&lt;br /&gt;
NSLog(@&quot;couldn&#39;t generate thumbnail, error:%@&quot;, error);&lt;br /&gt;
}&lt;br /&gt;
thumbImageview.image = [UIImage imageWithCGImage: img];&lt;br /&gt;
[generator release];&lt;br /&gt;
};&lt;br /&gt;
CGSize maxSize = CGSizeMake(100, 90); // define the size of image.&lt;br /&gt;
generator.maximumSize = maxSize;&lt;br /&gt;
[generator generateCGImagesAsynchronouslyForTimes:[NSArray arrayWithObject:[NSValue valueWithCMTime:thumbTime]] completionHandler:handler];&lt;br /&gt;
}&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://deskiphone.blogspot.com/feeds/8862587162785402477/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://deskiphone.blogspot.com/2011/09/how-to-capture-video-thumbnail-from.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/8862587162785402477'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/8862587162785402477'/><link rel='alternate' type='text/html' href='http://deskiphone.blogspot.com/2011/09/how-to-capture-video-thumbnail-from.html' title='How to Capture Video thumbnail from video URL'/><author><name>HELLO INDIA</name><uri>http://www.blogger.com/profile/08133044332996902234</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmEcLGzGzN-6z4LlzmXqvirp70rXjssELUgZlPi4XOD9EfgNSEL6YDVbCoGIPEi0dEQATiYBpMLnFpA0crWm5qMw9PtwHA_xYTIFkFCKeQy1dwgnJX4ojxTTvPosoTdyg/s220/Apple.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853593783382609238.post-6275868450383277327</id><published>2011-09-10T00:44:00.000-07:00</published><updated>2011-09-18T02:28:20.027-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Quartz framework"/><category scheme="http://www.blogger.com/atom/ns#" term="Store file in Documant"/><title type='text'>Combine Images In IOS</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;b&gt;Combine two images:&lt;/b&gt;&lt;br /&gt;
UIImage *firstImage = [UIImage imageNamed:@&quot;a.jpg&quot;];&lt;br /&gt;
&lt;br /&gt;
UIImage *secondImage = [UIImage imageNamed:@&quot;b.jpg&quot;];&lt;br /&gt;
&lt;br /&gt;
CGSize size = CGSizeMake(firstImage.size.width+secondImage.size.width,firstImage.size.height);&lt;br /&gt;
UIGraphicsBeginImageContext(size);&lt;br /&gt;
[firstImage drawAtPoint:CGPointMake(0,0)];&lt;br /&gt;
&lt;br /&gt;
[secondImage drawAtPoint:CGPointMake(firstImage.size.width,0)];&lt;br /&gt;
UIImage *newImage = UIGraphicsGetImageFromCurrentImageContext();&lt;br /&gt;
[self saveImage:newImage withName:@&quot;ABC.png&quot;];&lt;br /&gt;
&lt;br /&gt;
UIGraphicsEndImageContext();&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Store image in document.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
-(void)saveImage:(UIImage *)image withName:(NSString *)name&lt;br /&gt;
{&lt;br /&gt;
NSData *data = UIImagePNGRepresentation(image);&lt;br /&gt;
// NSData *data = UIImageJPEGRepresentation(image, 1);&lt;br /&gt;
NSFileManager *fileManager = [NSFileManager defaultManager];&lt;br /&gt;
NSString* documentsDirectory=[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory , NSUserDomainMask, YES)&lt;br /&gt;
objectAtIndex:0];&lt;br /&gt;
NSString *fullPath = [documentsDirectory stringByAppendingPathComponent:name];&lt;br /&gt;
[fileManager createFileAtPath:fullPath contents:data attributes:nil];&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;RESULT:&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHWBNEd7ip-WaVyMl4z1y0jxwP49Xq2XRmJ5rMExk1eaobSYI_shEX4iy33LfhCxfcTzIMOwC6GOXZLZaOAjaGHlJtPxbGnDnfNINX0iuQ-ECzLEpp-fFWVw9ftHFQNwi2JFfjROHgiuY/s1600/abc.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHWBNEd7ip-WaVyMl4z1y0jxwP49Xq2XRmJ5rMExk1eaobSYI_shEX4iy33LfhCxfcTzIMOwC6GOXZLZaOAjaGHlJtPxbGnDnfNINX0iuQ-ECzLEpp-fFWVw9ftHFQNwi2JFfjROHgiuY/s1600/abc.JPG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Thanks.............&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://deskiphone.blogspot.com/feeds/6275868450383277327/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://deskiphone.blogspot.com/2011/09/combine-images-in-ios.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/6275868450383277327'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/6275868450383277327'/><link rel='alternate' type='text/html' href='http://deskiphone.blogspot.com/2011/09/combine-images-in-ios.html' title='Combine Images In IOS'/><author><name>HELLO INDIA</name><uri>http://www.blogger.com/profile/08133044332996902234</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmEcLGzGzN-6z4LlzmXqvirp70rXjssELUgZlPi4XOD9EfgNSEL6YDVbCoGIPEi0dEQATiYBpMLnFpA0crWm5qMw9PtwHA_xYTIFkFCKeQy1dwgnJX4ojxTTvPosoTdyg/s220/Apple.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHWBNEd7ip-WaVyMl4z1y0jxwP49Xq2XRmJ5rMExk1eaobSYI_shEX4iy33LfhCxfcTzIMOwC6GOXZLZaOAjaGHlJtPxbGnDnfNINX0iuQ-ECzLEpp-fFWVw9ftHFQNwi2JFfjROHgiuY/s72-c/abc.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853593783382609238.post-2185717670003412871</id><published>2011-09-10T00:37:00.000-07:00</published><updated>2011-09-10T00:37:55.381-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AddressBook"/><title type='text'>Add Custom Label in Default Contact Application</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;b&gt;To Add custom label in Default contact, we can try below code.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
CFErrorRef error = NULL;&lt;br /&gt;
ABAddressBookRef iPhoneAddressBook = ABAddressBookCreate();&lt;br /&gt;
ABRecordRef newPerson = ABPersonCreate();&lt;br /&gt;
const CFStringRef customLabel = CFSTR( &quot;Nir&quot; );&lt;br /&gt;
&lt;br /&gt;
//phone&lt;br /&gt;
ABMutableMultiValueRef multiPhone = ABMultiValueCreateMutable(kABMultiStringPropertyType);&lt;br /&gt;
ABMultiValueAddValueAndLabel(multiPhone, @&quot;&lt;b&gt;CUSTOM LABEL&lt;/b&gt;&quot;, customLabel, NULL);&lt;br /&gt;
ABRecordSetValue(newPerson, kABPersonPhoneProperty, multiPhone,nil);&lt;br /&gt;
CFRelease(multiPhone);&lt;br /&gt;
ABAddressBookAddRecord(iPhoneAddressBook, newPerson, &amp;amp;error);&lt;br /&gt;
ABAddressBookSave(iPhoneAddressBook, &amp;amp;error);&lt;br /&gt;
ABAddressBookRemoveRecord(iPhoneAddressBook, newPerson, &amp;amp;error);&lt;br /&gt;
ABAddressBookSave(iPhoneAddressBook, &amp;amp;error);&lt;br /&gt;
if (error != NULL)&lt;br /&gt;
{&lt;br /&gt;
NSLog(@&quot;Error!&quot;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
THANKS................&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deskiphone.blogspot.com/feeds/2185717670003412871/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://deskiphone.blogspot.com/2011/09/add-custom-label-in-default-contact.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/2185717670003412871'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/2185717670003412871'/><link rel='alternate' type='text/html' href='http://deskiphone.blogspot.com/2011/09/add-custom-label-in-default-contact.html' title='Add Custom Label in Default Contact Application'/><author><name>HELLO INDIA</name><uri>http://www.blogger.com/profile/08133044332996902234</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmEcLGzGzN-6z4LlzmXqvirp70rXjssELUgZlPi4XOD9EfgNSEL6YDVbCoGIPEi0dEQATiYBpMLnFpA0crWm5qMw9PtwHA_xYTIFkFCKeQy1dwgnJX4ojxTTvPosoTdyg/s220/Apple.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853593783382609238.post-6540618099576487718</id><published>2011-09-10T00:34:00.000-07:00</published><updated>2011-09-10T00:34:20.696-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="NSString"/><title type='text'>Remove Characters from String</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;b&gt;Remove Character set form string:&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
NSString *strPhone = @&quot;54564-6556-6-65(113)&quot;;&lt;br /&gt;
&lt;br /&gt;
NSCharacterSet *charactersToRemove =[[NSCharacterSet characterSetWithCharactersInString:@&quot;0123456789&quot;] invertedSet];&lt;br /&gt;
&lt;br /&gt;
strPhone = [[strPhone componentsSeparatedByCharactersInSet:charactersToRemove] componentsJoinedByString:@&quot;&quot;];&lt;br /&gt;
&lt;br /&gt;
NSLog(@&quot;%@&quot;,strPhone);&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Result : Get 545646556665113 by removing -,( and ) from string&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
NSString *strPhone = @&quot;54564-6556-6-65(113)&quot;;&lt;br /&gt;
&lt;br /&gt;
NSCharacterSet *charactersToRemove =[NSCharacterSet characterSetWithCharactersInString:@&quot;0123456789&quot;];&lt;br /&gt;
&lt;br /&gt;
strPhone = [[strPhone componentsSeparatedByCharactersInSet:charactersToRemove] componentsJoinedByString:@&quot;&quot;];&lt;br /&gt;
&lt;br /&gt;
NSLog(@&quot;%@&quot;,strPhone);&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Result : Get --() by removing all entry of 0123456789&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;thanks&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Happpppyyyyyyy Pro.....................&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deskiphone.blogspot.com/feeds/6540618099576487718/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://deskiphone.blogspot.com/2011/09/remove-characters-from-string.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/6540618099576487718'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/6540618099576487718'/><link rel='alternate' type='text/html' href='http://deskiphone.blogspot.com/2011/09/remove-characters-from-string.html' title='Remove Characters from String'/><author><name>HELLO INDIA</name><uri>http://www.blogger.com/profile/08133044332996902234</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmEcLGzGzN-6z4LlzmXqvirp70rXjssELUgZlPi4XOD9EfgNSEL6YDVbCoGIPEi0dEQATiYBpMLnFpA0crWm5qMw9PtwHA_xYTIFkFCKeQy1dwgnJX4ojxTTvPosoTdyg/s220/Apple.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853593783382609238.post-1279644943113957132</id><published>2011-07-03T00:14:00.000-07:00</published><updated>2011-07-03T00:14:24.031-07:00</updated><title type='text'>Apple Upcoming iPhone 5 Concept Design</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 168.75pt;&quot;&gt;Follow the below link:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 168.75pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 168.75pt;&quot;&gt;&lt;a href=&quot;http://www.crazynoob.in/news/apple-upcoming-iphone-5-concept-design-inspired-by-6th-generation-ipod-nano/2011070242&quot;&gt;http://www.crazynoob.in/news/apple-upcoming-iphone-5-concept-design-inspired-by-6th-generation-ipod-nano/2011070242&lt;/a&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Lucida Sans Unicode&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.5pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deskiphone.blogspot.com/feeds/1279644943113957132/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://deskiphone.blogspot.com/2011/07/apple-upcoming-iphone-5-concept-design.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/1279644943113957132'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/1279644943113957132'/><link rel='alternate' type='text/html' href='http://deskiphone.blogspot.com/2011/07/apple-upcoming-iphone-5-concept-design.html' title='Apple Upcoming iPhone 5 Concept Design'/><author><name>HELLO INDIA</name><uri>http://www.blogger.com/profile/08133044332996902234</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmEcLGzGzN-6z4LlzmXqvirp70rXjssELUgZlPi4XOD9EfgNSEL6YDVbCoGIPEi0dEQATiYBpMLnFpA0crWm5qMw9PtwHA_xYTIFkFCKeQy1dwgnJX4ojxTTvPosoTdyg/s220/Apple.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853593783382609238.post-977399295779998728</id><published>2011-06-26T00:16:00.000-07:00</published><updated>2011-07-03T00:17:38.487-07:00</updated><title type='text'>iCloud Officially Announced</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Pls, Follow the below link:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://iphone5release.org/icloud-officially-announced/&quot;&gt;http://iphone5release.org/icloud-officially-announced/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deskiphone.blogspot.com/feeds/977399295779998728/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://deskiphone.blogspot.com/2011/06/icloud-officially-announced.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/977399295779998728'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/977399295779998728'/><link rel='alternate' type='text/html' href='http://deskiphone.blogspot.com/2011/06/icloud-officially-announced.html' title='iCloud Officially Announced'/><author><name>HELLO INDIA</name><uri>http://www.blogger.com/profile/08133044332996902234</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmEcLGzGzN-6z4LlzmXqvirp70rXjssELUgZlPi4XOD9EfgNSEL6YDVbCoGIPEi0dEQATiYBpMLnFpA0crWm5qMw9PtwHA_xYTIFkFCKeQy1dwgnJX4ojxTTvPosoTdyg/s220/Apple.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853593783382609238.post-8311244922392782170</id><published>2011-06-25T02:43:00.000-07:00</published><updated>2011-07-03T00:18:42.028-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="NSString"/><title type='text'>Iphone:Trimming whitespace characters from NSString</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #666666; font-family: &#39;Trebuchet MS&#39;, Rockwell, Helvetica; font-size: 14px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h2 style=&quot;color: #0aa7d6; font-family: &#39;Trebuchet MS&#39;, Rockwell, Helvetica; font-size: 20px; font-weight: normal; margin-bottom: 0px; margin-left: 10px; padding-bottom: 10px;&quot;&gt;&lt;br /&gt;
&lt;/h2&gt;&lt;h2 style=&quot;color: #0aa7d6; font-family: &#39;Trebuchet MS&#39;, Rockwell, Helvetica; font-size: 20px; font-weight: normal; margin-bottom: 0px; margin-left: 10px; padding-bottom: 10px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #666666; font-size: 14px;&quot;&gt;If you need to trim whitespace characters at the start and end of a NSString, here’s an easy way:&lt;/span&gt;&lt;/h2&gt;&lt;h2 style=&quot;color: #0aa7d6; font-family: &#39;Trebuchet MS&#39;, Rockwell, Helvetica; font-size: 20px; font-weight: normal; margin-bottom: 0px; margin-left: 10px; padding-bottom: 10px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-size: 14px;&quot;&gt;existingStr =&amp;nbsp;&lt;span class=&quot;br0&quot; style=&quot;color: #66cc66;&quot;&gt;[&lt;/span&gt;&amp;nbsp;existingStr stringByTrimmingCharactersInSet:&lt;span class=&quot;br0&quot; style=&quot;color: #66cc66;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;kw5&quot;&gt;&lt;a href=&quot;http://developer.apple.com/documentation/Cocoa/Reference/Foundation/ObjC_classic/Classes/NSCharacterSet.html&quot; style=&quot;color: #29a4cd; text-decoration: none;&quot;&gt;NSCharacterSet&lt;/a&gt;&amp;nbsp;&lt;/span&gt;whitespaceAndNewlineCharacterSet&lt;span class=&quot;br0&quot; style=&quot;color: #66cc66;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;br0&quot; style=&quot;color: #66cc66;&quot;&gt;]&lt;/span&gt;&amp;nbsp;;&lt;/span&gt;&lt;/h2&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deskiphone.blogspot.com/feeds/8311244922392782170/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://deskiphone.blogspot.com/2010/05/iphonetrimming-whitespace-characters.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/8311244922392782170'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/8311244922392782170'/><link rel='alternate' type='text/html' href='http://deskiphone.blogspot.com/2010/05/iphonetrimming-whitespace-characters.html' title='Iphone:Trimming whitespace characters from NSString'/><author><name>HELLO INDIA</name><uri>http://www.blogger.com/profile/08133044332996902234</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmEcLGzGzN-6z4LlzmXqvirp70rXjssELUgZlPi4XOD9EfgNSEL6YDVbCoGIPEi0dEQATiYBpMLnFpA0crWm5qMw9PtwHA_xYTIFkFCKeQy1dwgnJX4ojxTTvPosoTdyg/s220/Apple.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853593783382609238.post-4709751432737275762</id><published>2011-06-25T00:21:00.000-07:00</published><updated>2011-07-03T00:19:29.555-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Rotation"/><title type='text'>iphone:Rotate UI Component.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Monaco, serif;&quot;&gt;We can rotate UI component through&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;color: #410f81; font-family: Monaco, serif;&quot;&gt;CGAffineTransformMakeRotation such as.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Monaco, serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Monaco, serif;&quot;&gt;Rotate Button:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in;&quot;&gt;&lt;span style=&quot;color: #558187; font-family: Monaco, serif;&quot;&gt;btn&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Monaco, serif;&quot;&gt;.transform =&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #410f81; font-family: Monaco, serif;&quot;&gt;CGAffineTransformMakeRotation&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Monaco, serif;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #3e00d8; font-family: Monaco, serif;&quot;&gt;0.15&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Monaco, serif;&quot;&gt;);&lt;/span&gt;&lt;span style=&quot;color: #410f81; font-family: Monaco, serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in; min-height: 14px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Monaco, serif;&quot;&gt;Rotate Label:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in;&quot;&gt;&lt;span style=&quot;color: #558187; font-family: Monaco, serif;&quot;&gt;lbl&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Monaco, serif;&quot;&gt;.transform =&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #410f81; font-family: Monaco, serif;&quot;&gt;CGAffineTransformMakeRotation&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Monaco, serif;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #3e00d8; font-family: Monaco, serif;&quot;&gt;0.15&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Monaco, serif;&quot;&gt;);&lt;/span&gt;&lt;span style=&quot;color: #410f81; font-family: Monaco, serif; font-size: 7.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Monaco, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deskiphone.blogspot.com/feeds/4709751432737275762/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://deskiphone.blogspot.com/2010/08/iphonerotate-ui-component.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/4709751432737275762'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/4709751432737275762'/><link rel='alternate' type='text/html' href='http://deskiphone.blogspot.com/2010/08/iphonerotate-ui-component.html' title='iphone:Rotate UI Component.'/><author><name>HELLO INDIA</name><uri>http://www.blogger.com/profile/08133044332996902234</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmEcLGzGzN-6z4LlzmXqvirp70rXjssELUgZlPi4XOD9EfgNSEL6YDVbCoGIPEi0dEQATiYBpMLnFpA0crWm5qMw9PtwHA_xYTIFkFCKeQy1dwgnJX4ojxTTvPosoTdyg/s220/Apple.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853593783382609238.post-6467005441380354556</id><published>2011-06-18T00:14:00.000-07:00</published><updated>2011-07-03T00:16:09.222-07:00</updated><title type='text'>New Features In iOS 5 [FULL DETAILS]</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Pls, Follow the Below link:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.ithinkdiff.com/new-features-in-ios-5-for-iphone-ipad-ipod-revealed-at-wwdc-2011-full-details/&quot;&gt;http://www.ithinkdiff.com/new-features-in-ios-5-for-iphone-ipad-ipod-revealed-at-wwdc-2011-full-details/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deskiphone.blogspot.com/feeds/6467005441380354556/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://deskiphone.blogspot.com/2011/06/new-features-in-ios-5-full-details.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/6467005441380354556'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/6467005441380354556'/><link rel='alternate' type='text/html' href='http://deskiphone.blogspot.com/2011/06/new-features-in-ios-5-full-details.html' title='New Features In iOS 5 [FULL DETAILS]'/><author><name>HELLO INDIA</name><uri>http://www.blogger.com/profile/08133044332996902234</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmEcLGzGzN-6z4LlzmXqvirp70rXjssELUgZlPi4XOD9EfgNSEL6YDVbCoGIPEi0dEQATiYBpMLnFpA0crWm5qMw9PtwHA_xYTIFkFCKeQy1dwgnJX4ojxTTvPosoTdyg/s220/Apple.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853593783382609238.post-3052485595933090631</id><published>2011-06-11T00:31:00.000-07:00</published><updated>2011-07-02T23:56:40.138-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="NSUserDefault"/><title type='text'>Iphone: Use of  NSUserDefault</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;font: 12.0px Tahoma; line-height: 18.0px; margin: 0.0px 0.0px 20.0px 0.0px;&quot;&gt;NSUserDefaults class gives us an opportunity to save values without requiring any database. This class uses Key-value coding structure model for saving and loading values. Key-value coding defines generic properties accessor methods—valueForKey: and setValue:forKey:—which identify properties through Key Value Same As Dictionary.&lt;/div&gt;&lt;div style=&quot;font: 12.0px Tahoma; line-height: 18.0px; margin: 0.0px 0.0px 20.0px 0.0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Tahoma; line-height: 18.0px; margin: 0.0px 0.0px 20.0px 0.0px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font: 12.0px Tahoma; line-height: 18.0px; margin: 0.0px 0.0px 20.0px 0.0px;&quot;&gt;Object for NSUserDefault:&lt;/div&gt;&lt;div style=&quot;font: 12.0px Tahoma; line-height: 18.0px; margin: 0.0px 0.0px 20.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial; font-size: 14px;&quot;&gt;NSUserDefaults *prefs = [NSUserDefaults standardUserDefaults];&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial; font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial; font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font: 13.0px Tahoma; line-height: 18.0px; margin: 0.0px 0.0px 20.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial; font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px;&quot;&gt;Save Values In NSUserDefault:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 13.0px Tahoma; line-height: 18.0px; margin: 0.0px 0.0px 20.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial; font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px;&quot;&gt;// Saving an Object&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #333333; font: 14.0px Arial; line-height: 22.0px; margin: 0.0px 0.0px 22.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial; font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px;&quot;&gt;[prefs setObject:obj forKey:@&quot;keyObj&quot;];&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #333333; font: 14.0px Arial; line-height: 22.0px; margin: 0.0px 0.0px 22.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial; font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px;&quot;&gt;// saving an NSString&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial; font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px;&quot;&gt;[prefs setObject:@&quot;String&quot; forKey:@&quot;keyString&quot;];&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #333333; font: 14.0px Arial; line-height: 22.0px; margin: 0.0px 0.0px 22.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial; font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px;&quot;&gt;// saving an NSInteger&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial; font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px;&quot;&gt;[prefs setInteger:10 forKey:@&quot;KeyInt&quot;];&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #333333; font: 14.0px Arial; line-height: 22.0px; margin: 0.0px 0.0px 22.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial; font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px;&quot;&gt;// saving a Double&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial; font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px;&quot;&gt;[prefs setDouble:4.112 forKey:@&quot;KeyDouble&quot;];&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #333333; font: 14.0px Arial; line-height: 22.0px; margin: 0.0px 0.0px 22.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial; font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px;&quot;&gt;// saving a Float&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial; font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px;&quot;&gt;[prefs setFloat:1.000045 forKey:@&quot;KeyFloat&quot;];&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #333333; font: 14.0px Arial; line-height: 22.0px; margin: 0.0px 0.0px 22.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial; font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px;&quot;&gt;// This is suggested to synch the NS Object,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #333333; font: 14.0px Arial; line-height: 22.0px; margin: 0.0px 0.0px 22.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial; font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px;&quot;&gt;[prefs synchronize];&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #333333; font: 13.0px Arial; line-height: 17.0px; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial; font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px;&quot;&gt;Retrieving Value From NSUserDefault:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #333333; font: 19.0px Arial; line-height: 17.0px; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 22.0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial; font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #333333; font: 14.0px Arial; line-height: 22.0px; margin: 0.0px 0.0px 22.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial; font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px;&quot;&gt;NSUserDefaults *prefs = [NSUserDefaults standardUserDefaults];&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #333333; font: 14.0px Arial; line-height: 22.0px; margin: 0.0px 0.0px 22.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial; font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px;&quot;&gt;// getting an Object&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial; font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px;&quot;&gt;NSObject *myObj = [prefs objectForKey:@&quot;KeyObj&quot;];&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #333333; font: 14.0px Arial; line-height: 22.0px; margin: 0.0px 0.0px 22.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial; font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px;&quot;&gt;// getting an NSString&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial; font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px;&quot;&gt;NSString *myString = [prefs stringForKey:@&quot;keyString&quot;];&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #333333; font: 14.0px Arial; line-height: 22.0px; margin: 0.0px 0.0px 22.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial; font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px;&quot;&gt;// getting an NSInteger&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial; font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px;&quot;&gt;NSInteger myInt = [prefs integerForKey:@&quot;keyInt&quot;];&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #333333; font: 14.0px Arial; line-height: 22.0px; margin: 0.0px 0.0px 22.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial; font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px;&quot;&gt;// getting an Float&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial; font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px;&quot;&gt;float myFloat = [prefs floatForKey:@&quot;keyFloat&quot;];&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;font: 10.0px Arial; line-height: 22.0px; margin: 0.0px 0.0px 22.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial; font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Basically NSUserDefault is used to store value for further use when database is not user or store value for any system crash.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 10.0px Arial; line-height: 22.0px; margin: 0.0px 0.0px 22.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial; font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 10.0px Arial; line-height: 22.0px; margin: 0.0px 0.0px 22.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial; font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;b&gt;thanks&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 10.0px Arial; line-height: 22.0px; margin: 0.0px 0.0px 22.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial; font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deskiphone.blogspot.com/feeds/3052485595933090631/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://deskiphone.blogspot.com/2010/06/iphone-use-of-nsuserdefault.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/3052485595933090631'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/3052485595933090631'/><link rel='alternate' type='text/html' href='http://deskiphone.blogspot.com/2010/06/iphone-use-of-nsuserdefault.html' title='Iphone: Use of  NSUserDefault'/><author><name>HELLO INDIA</name><uri>http://www.blogger.com/profile/08133044332996902234</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmEcLGzGzN-6z4LlzmXqvirp70rXjssELUgZlPi4XOD9EfgNSEL6YDVbCoGIPEi0dEQATiYBpMLnFpA0crWm5qMw9PtwHA_xYTIFkFCKeQy1dwgnJX4ojxTTvPosoTdyg/s220/Apple.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853593783382609238.post-4607359613091618877</id><published>2011-06-05T23:00:00.000-07:00</published><updated>2011-07-02T23:55:02.844-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="UITabbar"/><title type='text'>To change the default color of the Tab-Bar</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 22.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: CourierNewPS-BoldMT;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;Add the below code in viewWillAppear of your class&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 22.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: CourierNewPS-BoldMT;&quot;&gt;CGRect frame = &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 22.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: CourierNewPS-BoldMT;&quot;&gt;CGRectMake(0.0, 0.0,self.view.bounds.size.width, 48);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 22.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: CourierNewPS-BoldMT;&quot;&gt;UIView *v = [[UIView alloc] initWithFrame:frame];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 22.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: CourierNewPS-BoldMT;&quot;&gt;[v setBackgroundColor:[UIColor colorWithRed:0.1 green:0.2 blue:0.6 alpha:0.8]];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 22.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: CourierNewPS-BoldMT;&quot;&gt;[v setAlpha:0.5];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 22.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: CourierNewPS-BoldMT;&quot;&gt;[[self.tabBarController tabBar] insertSubview:v atIndex:0];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 22.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: CourierNewPS-BoldMT;&quot;&gt;[v release];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 22.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 22.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: CourierNewPS-BoldMT;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;And we can also image pattern color.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 22.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: CourierNewPS-BoldMT;&quot;&gt;&amp;nbsp;UIImage *i = [UIImage imageNamed:@&quot;abc.png&quot;];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 22.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: CourierNewPS-BoldMT;&quot;&gt;&amp;nbsp;UIColor *c = [[UIColor alloc] initWithPatternImage:i];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 22.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 22.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: CourierNewPS-BoldMT;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;And we can also place image in tabbar background.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 22.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: CourierNewPS-BoldMT;&quot;&gt;CGRect frame = &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 22.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: CourierNewPS-BoldMT;&quot;&gt;CGRectMake(0.0, 0.0,self.view.bounds.size.width, 48);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 22.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: CourierNewPS-BoldMT;&quot;&gt;UIImageView *v = [[UIImageView alloc] initWithFrame:frame];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 22.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: CourierNewPS-BoldMT;&quot;&gt;[v setImage:[UIImage imageNamed:@”YOUR IMAGE NAME”]];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 22.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: CourierNewPS-BoldMT;&quot;&gt;[v setAlpha:0.5];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 22.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: CourierNewPS-BoldMT;&quot;&gt;[[self.tabBarController tabBar] insertSubview:v atIndex:0];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 22.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: CourierNewPS-BoldMT;&quot;&gt;[v release];&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: medium;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deskiphone.blogspot.com/feeds/4607359613091618877/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://deskiphone.blogspot.com/2011/04/to-change-default-color-of-tab-bar.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/4607359613091618877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/4607359613091618877'/><link rel='alternate' type='text/html' href='http://deskiphone.blogspot.com/2011/04/to-change-default-color-of-tab-bar.html' title='To change the default color of the Tab-Bar'/><author><name>HELLO INDIA</name><uri>http://www.blogger.com/profile/08133044332996902234</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmEcLGzGzN-6z4LlzmXqvirp70rXjssELUgZlPi4XOD9EfgNSEL6YDVbCoGIPEi0dEQATiYBpMLnFpA0crWm5qMw9PtwHA_xYTIFkFCKeQy1dwgnJX4ojxTTvPosoTdyg/s220/Apple.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853593783382609238.post-8020662713709986401</id><published>2011-05-28T02:31:00.000-07:00</published><updated>2011-07-17T00:25:59.169-07:00</updated><title type='text'>Load Xib at run time</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;We Can load the Xib at run time which make easy the work of resetting the frame for Portrait and landscape. Because We can create two Xib , One for portrait and second for landscape and then load at run time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;      &amp;nbsp;if(interfaceOrientation == UIInterfaceOrientationPortrait || interfaceOrientation == UIInterfaceOrientationPortraitUpsideDown)&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
[[NSBundle mainBundle] loadNibNamed:@&quot;IpadChangeXibAtRunTimeViewController&quot; owner:self options:nil];&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
else&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
[[NSBundle mainBundle] loadNibNamed:@&quot;IpadChangeXibAtRunTimeL&quot; owner:self options:nil];      }  return YES;&lt;br /&gt;
&lt;br /&gt;
}&amp;nbsp;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deskiphone.blogspot.com/feeds/8020662713709986401/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://deskiphone.blogspot.com/2011/05/load-xib-at-run-time.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/8020662713709986401'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/8020662713709986401'/><link rel='alternate' type='text/html' href='http://deskiphone.blogspot.com/2011/05/load-xib-at-run-time.html' title='Load Xib at run time'/><author><name>HELLO INDIA</name><uri>http://www.blogger.com/profile/08133044332996902234</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmEcLGzGzN-6z4LlzmXqvirp70rXjssELUgZlPi4XOD9EfgNSEL6YDVbCoGIPEi0dEQATiYBpMLnFpA0crWm5qMw9PtwHA_xYTIFkFCKeQy1dwgnJX4ojxTTvPosoTdyg/s220/Apple.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853593783382609238.post-2045696646011700309</id><published>2011-05-28T02:25:00.000-07:00</published><updated>2011-07-17T00:26:17.971-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="NSString"/><title type='text'>UTF String Convertion</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;-(NSString *)encodeString:(NSString *)string&lt;br /&gt;
{&lt;br /&gt;
NSString *result = (NSString *)CFURLCreateStringByAddingPercentEscapes(kCFAllocatorDefault, (CFStringRef)string, NULL, CFSTR(&quot;% &#39;\&quot;?=&amp;amp;+&amp;lt;&amp;gt;;:-&quot;), kCFStringEncodingUTF8);          return [result autorelease];&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
We Can insert %20 in place on Space in String by below statement:&lt;br /&gt;
str =[str stringByAddingPercentEscapesUsingEncoding:NSStringEncodingConversionExternalRepresentation];&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deskiphone.blogspot.com/feeds/2045696646011700309/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://deskiphone.blogspot.com/2011/05/utf-strung-convertion.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/2045696646011700309'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/2045696646011700309'/><link rel='alternate' type='text/html' href='http://deskiphone.blogspot.com/2011/05/utf-strung-convertion.html' title='UTF String Convertion'/><author><name>HELLO INDIA</name><uri>http://www.blogger.com/profile/08133044332996902234</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmEcLGzGzN-6z4LlzmXqvirp70rXjssELUgZlPi4XOD9EfgNSEL6YDVbCoGIPEi0dEQATiYBpMLnFpA0crWm5qMw9PtwHA_xYTIFkFCKeQy1dwgnJX4ojxTTvPosoTdyg/s220/Apple.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853593783382609238.post-6023427062813761079</id><published>2011-05-28T00:25:00.000-07:00</published><updated>2011-07-02T23:54:23.183-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="UITabbar"/><title type='text'>Iphone:set badge on tabbar Item</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #7233a9; font-family: Menlo, serif;&quot;&gt;UITabBarItem&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Menlo, serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Menlo, serif;&quot;&gt;*tbi = (&lt;/span&gt;&lt;span style=&quot;color: #7233a9; font-family: Menlo, serif;&quot;&gt;UITabBarItem&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Menlo, serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Menlo, serif;&quot;&gt;*)[&lt;/span&gt;&lt;span style=&quot;color: #558187; font-family: Menlo, serif;&quot;&gt;tabBarController&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Menlo, serif;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #7233a9; font-family: Menlo, serif;&quot;&gt;tabBar&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Menlo, serif;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #7233a9; font-family: Menlo, serif;&quot;&gt;items&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Menlo, serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #410f81; font-family: Menlo, serif;&quot;&gt;objectAtIndex&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Menlo, serif;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #3e00d8; font-family: Menlo, serif;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Menlo, serif;&quot;&gt;];&lt;/span&gt;&lt;span style=&quot;color: #7233a9; font-family: Menlo, serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Menlo, serif;&quot;&gt;or&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #7233a9; font-family: Menlo, serif;&quot;&gt;UITabBarItem&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Menlo, serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Menlo, serif;&quot;&gt;*tbi = (&lt;/span&gt;&lt;span style=&quot;color: #7233a9; font-family: Menlo, serif;&quot;&gt;UITabBarItem&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Menlo, serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Menlo, serif;&quot;&gt;*)[AppDel.&lt;/span&gt;&lt;span style=&quot;color: #558187; font-family: Menlo, serif;&quot;&gt;tabBarController&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Menlo, serif;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #7233a9; font-family: Menlo, serif;&quot;&gt;tabBar&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Menlo, serif;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #7233a9; font-family: Menlo, serif;&quot;&gt;items&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Menlo, serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #410f81; font-family: Menlo, serif;&quot;&gt;objectAtIndex&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Menlo, serif;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #3e00d8; font-family: Menlo, serif;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Menlo, serif;&quot;&gt;];&lt;/span&gt;&lt;span style=&quot;color: #7233a9; font-family: Menlo, serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Menlo, serif;&quot;&gt;tbi.&lt;/span&gt;&lt;span style=&quot;color: #7233a9; font-family: Menlo, serif;&quot;&gt;badgeValue&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Menlo, serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Menlo, serif;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Menlo, serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #c92b26; font-family: Menlo, serif;&quot;&gt;@&quot;2&quot;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Menlo, serif;&quot;&gt;; // 2 define the value that would be display on tabbar item.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deskiphone.blogspot.com/feeds/6023427062813761079/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://deskiphone.blogspot.com/2010/08/iphoneset-badge-on-tabbar-item.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/6023427062813761079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/6023427062813761079'/><link rel='alternate' type='text/html' href='http://deskiphone.blogspot.com/2010/08/iphoneset-badge-on-tabbar-item.html' title='Iphone:set badge on tabbar Item'/><author><name>HELLO INDIA</name><uri>http://www.blogger.com/profile/08133044332996902234</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmEcLGzGzN-6z4LlzmXqvirp70rXjssELUgZlPi4XOD9EfgNSEL6YDVbCoGIPEi0dEQATiYBpMLnFpA0crWm5qMw9PtwHA_xYTIFkFCKeQy1dwgnJX4ojxTTvPosoTdyg/s220/Apple.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853593783382609238.post-5736051342836807198</id><published>2011-05-22T04:29:00.000-07:00</published><updated>2011-07-02T23:52:38.580-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="UIButton"/><title type='text'>Iphone: Set Image on UIButton</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;font: 12.0px Times New Roman; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;Iphone: Set Image on UIButton&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times New Roman; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times New Roman; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;On UIButton, Image Can be set as Button image or can Button Background Image.&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times New Roman; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times New Roman; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;Basically, Button Image Is not useful to set because if we set button image then Button will enlarge &lt;/div&gt;&lt;div style=&quot;font: 12.0px Times New Roman; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;according to the image size.&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times New Roman; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times New Roman; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;So it is useful to set Image on background. In this case, the image will fit to button Size.&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times New Roman; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;so it can be use many places where we will have to use button and ImageView both such as Add contact image,etc..................&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times New Roman; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times New Roman; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;set Button title: &lt;/div&gt;&lt;div style=&quot;color: #2e0d6e; font: 10.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #3f6e74;&quot;&gt;imageButton&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;setTitle&lt;span style=&quot;color: black;&quot;&gt;: &lt;/span&gt;&lt;span style=&quot;color: #c41a16;&quot;&gt;@&quot;XYZ&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;forState&lt;span style=&quot;color: black;&quot;&gt;: &lt;/span&gt;UIControlStateNormal&lt;span style=&quot;color: black;&quot;&gt;];&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times New Roman; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times New Roman; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 10.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;Set Button Background image&lt;/div&gt;&lt;div style=&quot;color: #2e0d6e; font: 10.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #3f6e74;&quot;&gt;imageButton&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;setBackgroundImage&lt;span style=&quot;color: black;&quot;&gt;:image  &lt;/span&gt;forState&lt;span style=&quot;color: black;&quot;&gt;:&lt;/span&gt;UIControlStateNormal&lt;span style=&quot;color: black;&quot;&gt;];&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times New Roman; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times New Roman; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times New Roman; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;Set Button Image:&lt;/div&gt;&lt;div style=&quot;color: #2e0d6e; font: 10.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #3f6e74;&quot;&gt;imageButton&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;setImage&lt;span style=&quot;color: black;&quot;&gt;:image  &lt;/span&gt;forState&lt;span style=&quot;color: black;&quot;&gt;:&lt;/span&gt;UIControlStateNormal&lt;span style=&quot;color: black;&quot;&gt;];&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times New Roman; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times New Roman; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times New Roman; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;thank.........&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 100%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 12px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deskiphone.blogspot.com/feeds/5736051342836807198/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://deskiphone.blogspot.com/2010/04/iphone-set-image-on-uibutton.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/5736051342836807198'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/5736051342836807198'/><link rel='alternate' type='text/html' href='http://deskiphone.blogspot.com/2010/04/iphone-set-image-on-uibutton.html' title='Iphone: Set Image on UIButton'/><author><name>HELLO INDIA</name><uri>http://www.blogger.com/profile/08133044332996902234</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmEcLGzGzN-6z4LlzmXqvirp70rXjssELUgZlPi4XOD9EfgNSEL6YDVbCoGIPEi0dEQATiYBpMLnFpA0crWm5qMw9PtwHA_xYTIFkFCKeQy1dwgnJX4ojxTTvPosoTdyg/s220/Apple.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853593783382609238.post-4841721613313526749</id><published>2011-05-22T03:33:00.000-07:00</published><updated>2011-07-17T00:27:21.686-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Audio/Video"/><title type='text'>Download Video from the URL:</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 12pt;&quot;&gt;NSMutableURLRequest *request = [[[NSMutableURLRequest alloc] init] autorelease];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 12pt;&quot;&gt;[request setHTTPMethod:@&quot;GET&quot;];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 12pt;&quot;&gt;NSError *error;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 12pt;&quot;&gt;NSURLResponse *response;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 12pt;&quot;&gt;NSString *documentFolderPath = [NSHomeDirectory() stringByAppendingPathComponent:@&quot;Documents&quot;];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 12pt;&quot;&gt;NSFileManager *fileManager = [NSFileManager defaultManager];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 12pt;&quot;&gt;NSString *videosFolderPath = [documentFolderPath stringByAppendingPathComponent:@&quot;videos&quot;]; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 12pt;&quot;&gt;//Check if the videos folder already exists, if not, create it!!!&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 12pt;&quot;&gt;BOOL isDir;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 12pt;&quot;&gt;if (([fileManager fileExistsAtPath:videosFolderPath isDirectory:&amp;amp;isDir] &amp;amp;&amp;amp; isDir) == FALSE) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 12pt;&quot;&gt;&amp;nbsp; &amp;nbsp; [[NSFileManager defaultManager] createDirectoryAtPath:videosFolderPath attributes:nil];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 12pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 12pt;&quot;&gt;NSData *urlData;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 12pt;&quot;&gt;NSString *downloadPath = @&quot;http://foo.com/videos/bar.mpeg&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 12pt;&quot;&gt;[request setURL:[NSURL URLWithString:downloadPath]];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 12pt;&quot;&gt;urlData = [NSURLConnection sendSynchronousRequest:request returningResponse:&amp;amp;response error:&amp;amp;error];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 12pt;&quot;&gt;NSString *filePath = [videosFolderPath stringByAppendingPathComponent:@&quot;bar.mpeg&quot;];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 12pt;&quot;&gt;BOOL written = [urlData writeToFile:filePath atomically:NO];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 12pt;&quot;&gt;if (written)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 12pt;&quot;&gt;&amp;nbsp; &amp;nbsp; NSLog(@&quot;Saved to file: %@&quot;, filePath);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deskiphone.blogspot.com/feeds/4841721613313526749/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://deskiphone.blogspot.com/2011/05/download-video-from-url.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/4841721613313526749'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/4841721613313526749'/><link rel='alternate' type='text/html' href='http://deskiphone.blogspot.com/2011/05/download-video-from-url.html' title='Download Video from the URL:'/><author><name>HELLO INDIA</name><uri>http://www.blogger.com/profile/08133044332996902234</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmEcLGzGzN-6z4LlzmXqvirp70rXjssELUgZlPi4XOD9EfgNSEL6YDVbCoGIPEi0dEQATiYBpMLnFpA0crWm5qMw9PtwHA_xYTIFkFCKeQy1dwgnJX4ojxTTvPosoTdyg/s220/Apple.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853593783382609238.post-8734518175797839115</id><published>2011-05-22T03:32:00.000-07:00</published><updated>2011-07-17T00:28:21.015-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Twitter"/><title type='text'>Integration of Twitter</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;some simple step to integrate twitter with iphone sdk.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #236e25; font-family: Menlo-Regular;&quot;&gt;1. Drag and Drop Libraries folder &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #236e25; font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;2. Drag and Drop yaji folder &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #236e25; font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;3. include libxml2.dylib and also check the it include in General tab framework of target. // otherwise give 8 error&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #236e25; font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;4. Add &quot;/usr/include/libxml2&quot; in header search path&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #236e25; font-family: Menlo-Regular;&quot;&gt;5. Add -lxml2 in other linker flag&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #236e25; font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;6. Add other code for integration.&lt;/span&gt;&lt;span style=&quot;font-family: Helvetica, sans-serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deskiphone.blogspot.com/feeds/8734518175797839115/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://deskiphone.blogspot.com/2011/05/integration-of-twitter.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/8734518175797839115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/8734518175797839115'/><link rel='alternate' type='text/html' href='http://deskiphone.blogspot.com/2011/05/integration-of-twitter.html' title='Integration of Twitter'/><author><name>HELLO INDIA</name><uri>http://www.blogger.com/profile/08133044332996902234</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmEcLGzGzN-6z4LlzmXqvirp70rXjssELUgZlPi4XOD9EfgNSEL6YDVbCoGIPEi0dEQATiYBpMLnFpA0crWm5qMw9PtwHA_xYTIFkFCKeQy1dwgnJX4ojxTTvPosoTdyg/s220/Apple.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853593783382609238.post-5529464746815008488</id><published>2011-05-21T05:35:00.000-07:00</published><updated>2011-07-17T00:26:47.049-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="UIWebView"/><title type='text'>How to detect the link click in UIWebView</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;If App has an Web View and web view has some link and we want to identify the click event and open the link in&amp;nbsp; safari or open mail window, then follow as below code.&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; font-size: 10pt;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; font-size: 10pt;&quot;&gt;- (&lt;span style=&quot;color: #760f50;&quot;&gt;BOOL&lt;/span&gt;)webView:(UIWebView*)webView shouldStartLoadWithRequest:(NSURLRequest*)request navigationType:(UIWebViewNavigationType)navigationType {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #236e25;&quot;&gt;//CAPTURE USER LINK-CLICK.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #760f50;&quot;&gt;if&lt;/span&gt; (navigationType == UIWebViewNavigationTypeLinkClicked) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NSURL *URL = [request URL];&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #760f50;&quot;&gt;if&lt;/span&gt; ([[URL scheme] isEqualToString:&lt;span style=&quot;color: #891315;&quot;&gt;@&quot;http&quot;&lt;/span&gt;]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [[UIApplication sharedApplication] openURL:URL];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #760f50;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #760f50;&quot;&gt;NO&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #760f50;&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #760f50;&quot;&gt;if&lt;/span&gt; ([[URL scheme] isEqualToString:&lt;span style=&quot;color: #891315;&quot;&gt;@&quot;mailto&quot;&lt;/span&gt;])&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [[UIApplication sharedApplication] openURL:URL];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #760f50;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #760f50;&quot;&gt;NO&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #760f50;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #760f50;&quot;&gt;YES&lt;/span&gt;;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; font-size: 10pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deskiphone.blogspot.com/feeds/5529464746815008488/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://deskiphone.blogspot.com/2011/05/how-to-detect-link-click-in-uiwebview.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/5529464746815008488'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/5529464746815008488'/><link rel='alternate' type='text/html' href='http://deskiphone.blogspot.com/2011/05/how-to-detect-link-click-in-uiwebview.html' title='How to detect the link click in UIWebView'/><author><name>HELLO INDIA</name><uri>http://www.blogger.com/profile/08133044332996902234</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmEcLGzGzN-6z4LlzmXqvirp70rXjssELUgZlPi4XOD9EfgNSEL6YDVbCoGIPEi0dEQATiYBpMLnFpA0crWm5qMw9PtwHA_xYTIFkFCKeQy1dwgnJX4ojxTTvPosoTdyg/s220/Apple.png'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853593783382609238.post-4910533263731546880</id><published>2011-05-14T06:01:00.000-07:00</published><updated>2011-07-02T23:47:59.445-07:00</updated><title type='text'>Permanent iPhone 4 Unlock, iPad 2 Jailbreak</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;To jailbreak use below link:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;a href=&quot;http://video.ezinemark.com/permanent-iphone-4-unlock-ipad-2-jailbreak-chevronwp7-labs-more-besttechinfo-rumors-21-4852faf1c0c.html&quot;&gt;http://video.ezinemark.com/permanent-iphone-4-unlock-ipad-2-jailbreak-chevronwp7-labs-more-besttechinfo-rumors-21-4852faf1c0c.html&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deskiphone.blogspot.com/feeds/4910533263731546880/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://deskiphone.blogspot.com/2011/02/permanent-iphone-4-unlock-ipad-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/4910533263731546880'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/4910533263731546880'/><link rel='alternate' type='text/html' href='http://deskiphone.blogspot.com/2011/02/permanent-iphone-4-unlock-ipad-2.html' title='Permanent iPhone 4 Unlock, iPad 2 Jailbreak'/><author><name>HELLO INDIA</name><uri>http://www.blogger.com/profile/08133044332996902234</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmEcLGzGzN-6z4LlzmXqvirp70rXjssELUgZlPi4XOD9EfgNSEL6YDVbCoGIPEi0dEQATiYBpMLnFpA0crWm5qMw9PtwHA_xYTIFkFCKeQy1dwgnJX4ojxTTvPosoTdyg/s220/Apple.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853593783382609238.post-6915065359595364157</id><published>2011-05-14T03:30:00.000-07:00</published><updated>2011-07-17T00:28:49.128-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CLLocation"/><title type='text'>How to find city name and other detail from lat/long</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 28.3pt 56.65pt 85.0pt 113.35pt 141.7pt 170.05pt 198.4pt 226.75pt 255.1pt 283.45pt 311.8pt 340.15pt; text-autospace: none;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica, sans-serif;&quot;&gt;Here i m detailing, how to get detail information from lat/long.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 28.3pt 56.65pt 85.0pt 113.35pt 141.7pt 170.05pt 198.4pt 226.75pt 255.1pt 283.45pt 311.8pt 340.15pt; text-autospace: none;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;for&lt;/span&gt;&lt;span style=&quot;font-family: Helvetica, sans-serif;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;.h file.&lt;/span&gt;&lt;span style=&quot;font-family: Helvetica, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;import&lt;span style=&quot;color: #683821;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #891315;&quot;&gt;&lt;mapkit mapkit.h=&quot;&quot;&gt; &lt;/mapkit&gt;&lt;/span&gt;framework&lt;span style=&quot;color: #891315;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;implement&lt;span style=&quot;color: #891315;&quot;&gt; &lt;/span&gt;MKMapViewDelegate and MKReverseGeocoderDelegate&lt;/span&gt;&lt;span style=&quot;font-family: Helvetica, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 28.3pt 56.65pt 85.0pt 113.35pt 141.7pt 170.05pt 198.4pt 226.75pt 255.1pt 283.45pt 311.8pt 340.15pt; text-autospace: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;Declare &lt;span style=&quot;color: #5c2699;&quot;&gt;MKReverseGeocoder&lt;/span&gt; *&lt;span style=&quot;color: #3f6e74;&quot;&gt;reverseGeocoder&lt;/span&gt;;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: #760f50; font-family: Menlo-Regular;&quot;&gt;@property&lt;/span&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt; (&lt;span style=&quot;color: #760f50;&quot;&gt;nonatomic&lt;/span&gt;, &lt;span style=&quot;color: #760f50;&quot;&gt;retain&lt;/span&gt;) MKReverseGeocoder *reverseGeocoder;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;for&lt;/span&gt;&lt;span style=&quot;font-family: Helvetica, sans-serif;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;.m file.&lt;/span&gt;&lt;span style=&quot;font-family: Helvetica, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: #760f50; font-family: Menlo-Regular;&quot;&gt;@synthesize&lt;/span&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt; reverseGeocoder;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: #5c2699; font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLLocationCoordinate2D&lt;/span&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt; coord2d;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; coord2d.&lt;span style=&quot;color: #5c2699;&quot;&gt;latitude&lt;/span&gt; =&lt;span style=&quot;color: blue;&quot;&gt;19.3&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; coord2d.&lt;span style=&quot;color: #5c2699;&quot;&gt;longitude&lt;/span&gt; =&lt;span style=&quot;color: blue;&quot;&gt;73.9&lt;/span&gt; ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #760f50;&quot;&gt;self&lt;/span&gt;.&lt;span style=&quot;color: #3f6e74;&quot;&gt;reverseGeocoder&lt;/span&gt; =[[[&lt;span style=&quot;color: #5c2699;&quot;&gt;MKReverseGeocoder&lt;/span&gt; &lt;span style=&quot;color: #2e0d6e;&quot;&gt;alloc&lt;/span&gt;] &lt;span style=&quot;color: #2e0d6e;&quot;&gt;initWithCoordinate&lt;/span&gt;:coord2d] &lt;span style=&quot;color: #2e0d6e;&quot;&gt;autorelease&lt;/span&gt;];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Note: If we get data detail for Current location then we can use below statement:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [[[&lt;span style=&quot;color: #5c2699;&quot;&gt;MKReverseGeocoder&lt;/span&gt; &lt;span style=&quot;color: #2e0d6e;&quot;&gt;alloc&lt;/span&gt;] &lt;span style=&quot;color: #2e0d6e;&quot;&gt;initWithCoordinate&lt;/span&gt;:&lt;span style=&quot;color: #3f6e74;&quot;&gt;mapView&lt;/span&gt;.&lt;span style=&quot;color: #5c2699;&quot;&gt;userLocation&lt;/span&gt;.&lt;span style=&quot;color: #5c2699;&quot;&gt;location&lt;/span&gt;.&lt;span style=&quot;color: #2e0d6e;&quot;&gt;coordinate&lt;/span&gt;] &lt;span style=&quot;color: #2e0d6e;&quot;&gt;autorelease&lt;/span&gt;];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #3f6e74;&quot;&gt;reverseGeocoder&lt;/span&gt;.&lt;span style=&quot;color: #5c2699;&quot;&gt;delegate&lt;/span&gt; = &lt;span style=&quot;color: #760f50;&quot;&gt;self&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Menlo-Regular; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;span style=&quot;color: #3f6e74;&quot;&gt;reverseGeocoder&lt;/span&gt; &lt;span style=&quot;color: #2e0d6e;&quot;&gt;start&lt;/span&gt;];&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span style=&quot;font-family: Menlo-Regular; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Menlo-Regular; line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;- (&lt;span style=&quot;color: #760f50;&quot;&gt;void&lt;/span&gt;)reverseGeocoder:(&lt;span style=&quot;color: #5c2699;&quot;&gt;MKReverseGeocoder&lt;/span&gt; *)geocoder didFailWithError:(&lt;span style=&quot;color: #5c2699;&quot;&gt;NSError&lt;/span&gt; *)error&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #5c2699;&quot;&gt;NSString&lt;/span&gt; *errorMessage = [error &lt;span style=&quot;color: #2e0d6e;&quot;&gt;localizedDescription&lt;/span&gt;];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #5c2699;&quot;&gt;UIAlertView&lt;/span&gt; *alertView = [[&lt;span style=&quot;color: #5c2699;&quot;&gt;UIAlertView&lt;/span&gt; &lt;span style=&quot;color: #2e0d6e;&quot;&gt;alloc&lt;/span&gt;] &lt;span style=&quot;color: #2e0d6e;&quot;&gt;initWithTitle&lt;/span&gt;:&lt;span style=&quot;color: #891315;&quot;&gt;@&quot;Cannot obtain address.&quot;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #2e0d6e;&quot;&gt;message&lt;/span&gt;:errorMessage&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #2e0d6e;&quot;&gt;delegate&lt;/span&gt;:&lt;span style=&quot;color: #760f50;&quot;&gt;nil&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #2e0d6e;&quot;&gt;cancelButtonTitle&lt;/span&gt;:&lt;span style=&quot;color: #891315;&quot;&gt;@&quot;OK&quot;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #2e0d6e;&quot;&gt;otherButtonTitles&lt;/span&gt;:&lt;span style=&quot;color: #760f50;&quot;&gt;nil&lt;/span&gt;];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [alertView &lt;span style=&quot;color: #2e0d6e;&quot;&gt;show&lt;/span&gt;];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [alertView &lt;span style=&quot;color: #2e0d6e;&quot;&gt;release&lt;/span&gt;];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;- (&lt;span style=&quot;color: #760f50;&quot;&gt;void&lt;/span&gt;)reverseGeocoder:(&lt;span style=&quot;color: #5c2699;&quot;&gt;MKReverseGeocoder&lt;/span&gt; *)geocoder didFindPlacemark:(&lt;span style=&quot;color: #5c2699;&quot;&gt;MKPlacemark&lt;/span&gt; *)placemark&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #2e0d6e;&quot;&gt;NSLog&lt;/span&gt;(&lt;span style=&quot;color: #891315;&quot;&gt;@&quot;Thoroughfare : %@&quot;&lt;/span&gt;,&lt;span style=&quot;color: #3f6e74;&quot;&gt;placemark&lt;/span&gt;.&lt;span style=&quot;color: #5c2699;&quot;&gt;thoroughfare&lt;/span&gt;); &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #2e0d6e;&quot;&gt;NSLog&lt;/span&gt;(&lt;span style=&quot;color: #891315;&quot;&gt;@&quot;Sub-thoroughfare : %@&quot;&lt;/span&gt;,&lt;span style=&quot;color: #3f6e74;&quot;&gt;placemark&lt;/span&gt;.&lt;span style=&quot;color: #5c2699;&quot;&gt;subThoroughfare&lt;/span&gt;); &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #2e0d6e;&quot;&gt;NSLog&lt;/span&gt;(&lt;span style=&quot;color: #891315;&quot;&gt;@&quot;Locality : %@&quot;&lt;/span&gt;,&lt;span style=&quot;color: #3f6e74;&quot;&gt;placemark&lt;/span&gt;.&lt;span style=&quot;color: #5c2699;&quot;&gt;locality&lt;/span&gt;); &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #2e0d6e;&quot;&gt;NSLog&lt;/span&gt;(&lt;span style=&quot;color: #891315;&quot;&gt;@&quot;Sub-locality : %@&quot;&lt;/span&gt;,&lt;span style=&quot;color: #3f6e74;&quot;&gt;placemark&lt;/span&gt;.&lt;span style=&quot;color: #5c2699;&quot;&gt;subLocality&lt;/span&gt;); &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #2e0d6e;&quot;&gt;NSLog&lt;/span&gt;(&lt;span style=&quot;color: #891315;&quot;&gt;@&quot;Administrative Area : %@&quot;&lt;/span&gt;,&lt;span style=&quot;color: #3f6e74;&quot;&gt;placemark&lt;/span&gt;.&lt;span style=&quot;color: #5c2699;&quot;&gt;administrativeArea&lt;/span&gt;); &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #2e0d6e;&quot;&gt;NSLog&lt;/span&gt;(&lt;span style=&quot;color: #891315;&quot;&gt;@&quot;Sub-administrative Area : %@&quot;&lt;/span&gt;,&lt;span style=&quot;color: #3f6e74;&quot;&gt;placemark&lt;/span&gt;.&lt;span style=&quot;color: #5c2699;&quot;&gt;subAdministrativeArea&lt;/span&gt;); &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #2e0d6e;&quot;&gt;NSLog&lt;/span&gt;(&lt;span style=&quot;color: #891315;&quot;&gt;@&quot;Postal Code : %@&quot;&lt;/span&gt;,&lt;span style=&quot;color: #3f6e74;&quot;&gt;placemark&lt;/span&gt;.&lt;span style=&quot;color: #5c2699;&quot;&gt;postalCode&lt;/span&gt;); &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #2e0d6e;&quot;&gt;NSLog&lt;/span&gt;(&lt;span style=&quot;color: #891315;&quot;&gt;@&quot;Country : %@&quot;&lt;/span&gt;,&lt;span style=&quot;color: #3f6e74;&quot;&gt;placemark&lt;/span&gt;.&lt;span style=&quot;color: #5c2699;&quot;&gt;country&lt;/span&gt;); &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #2e0d6e;&quot;&gt;NSLog&lt;/span&gt;(&lt;span style=&quot;color: #891315;&quot;&gt;@&quot;Country Code: %@&quot;&lt;/span&gt;,&lt;span style=&quot;color: #3f6e74;&quot;&gt;placemark&lt;/span&gt;.&lt;span style=&quot;color: #5c2699;&quot;&gt;countryCode&lt;/span&gt;); &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; tab-stops: 43.3pt; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: Menlo-Regular;&quot;&gt;}&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deskiphone.blogspot.com/feeds/6915065359595364157/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://deskiphone.blogspot.com/2011/05/how-to-find-city-name-and-other-detail.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/6915065359595364157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7853593783382609238/posts/default/6915065359595364157'/><link rel='alternate' type='text/html' href='http://deskiphone.blogspot.com/2011/05/how-to-find-city-name-and-other-detail.html' title='How to find city name and other detail from lat/long'/><author><name>HELLO INDIA</name><uri>http://www.blogger.com/profile/08133044332996902234</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmEcLGzGzN-6z4LlzmXqvirp70rXjssELUgZlPi4XOD9EfgNSEL6YDVbCoGIPEi0dEQATiYBpMLnFpA0crWm5qMw9PtwHA_xYTIFkFCKeQy1dwgnJX4ojxTTvPosoTdyg/s220/Apple.png'/></author><thr:total>0</thr:total></entry></feed>