<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Ios7 on A&#43; programming moments</title>
    <link>https://aplus.rs/tags/ios7/</link>
    <description>Recent content in Ios7 on A&#43; programming moments</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-US</language>
    <lastBuildDate>Fri, 29 Aug 2014 00:00:00 +0000</lastBuildDate>
    
	<atom:link href="https://aplus.rs/tags/ios7/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>How to remove UINavigationBar&#39;s bottom border / shadow in iOS 7</title>
      <link>https://aplus.rs/2014/how-to-remove-uinavigationbars-bottom-border-slash-shadow-in-ios-7/</link>
      <pubDate>Fri, 29 Aug 2014 00:00:00 +0000</pubDate>
      <guid>https://aplus.rs/2014/how-to-remove-uinavigationbars-bottom-border-slash-shadow-in-ios-7/</guid>
      <description>&lt;p&gt;One of the most annoying visual things Apple introduced in iOS 7 is inability to  remove the navigation bar shadow image. iOS 7 UI is perfect to create seamless transition between the content and the top of the screen.&lt;/p&gt;
&lt;p&gt;The only issue is that darn line at the bottom. There is no property on &lt;code&gt;UINavigationBar&lt;/code&gt; to hide it. There is &lt;code&gt;shadowImage&lt;/code&gt; which allows you to change it, but can&amp;rsquo;t remove it – &lt;code&gt;shadowImage = nil&lt;/code&gt; is the default which shows their default image. Even changing the &lt;code&gt;shadowImage&lt;/code&gt; to 100% transparent image is not enough:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;For a custom shadow image to be shown, a custom background image must also be set with the &lt;code&gt;setBackgroundImage:forBarMetrics:&lt;/code&gt; method. If the default background image is used, then the default shadow image will be used regardless of the value of this property.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Brilliant. 😕 You can remove the shadow only if you also kill the blur, like this:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-objectivec&#34; data-lang=&#34;objectivec&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;p&#34;&gt;[&lt;/span&gt;&lt;span class=&#34;nb&#34;&gt;self&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;navigationController&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;navigationBar&lt;/span&gt; &lt;span class=&#34;nl&#34;&gt;setBackgroundImage&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:[[&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;UIImage&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;alloc&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;]&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;init&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;]&lt;/span&gt; 
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;			&lt;span class=&#34;nl&#34;&gt;forBarMetrics&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;UIBarMetricsDefault&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;];&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;self&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;navigationController&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;navigationBar&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;shadowImage&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;[[&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;UIImage&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;alloc&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;]&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;init&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;];&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Can&amp;rsquo;t help to think this was not properly thought through, but given the hectic schedule Apple engineers had for iOS 7, something had to give.
Anw, with no other avenue left, it&amp;rsquo;s subview walkthrough time.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;UINavigationBar: 0xb486860; baseClass = UINavigationBar; frame = (-160 0; 320 1); opaque = NO; autoresize = W; gestureRecognizers = &amp;lt;NSArray: 0xb4887e0&amp;gt;; layer = &amp;lt;CALayer: 0xb4869c0&amp;gt;&amp;gt;
| &amp;lt;_UINavigationBarBackground: 0xb487090; frame = (0 0; 320 1); opaque = NO; autoresize = W; userInteractionEnabled = NO; layer = &amp;lt;CALayer: 0xb4871c0&amp;gt;&amp;gt;
|    | &amp;lt;_UIBackdropView: 0xb48fb20; frame = (0 0; 320 1); opaque = NO; autoresize = W+H; userInteractionEnabled = NO; layer = &amp;lt;_UIBackdropViewLayer: 0xc6aec50&amp;gt;&amp;gt;
|    |    | &amp;lt;_UIBackdropEffectView: 0xc6af6e0; frame = (0 0; 320 1); clipsToBounds = YES; opaque = NO; autoresize = W+H; userInteractionEnabled = NO; layer = &amp;lt;CABackdropLayer: 0xc6af9a0&amp;gt;&amp;gt;
|    |    | &amp;lt;UIView: 0xc6b0150; frame = (0 0; 320 1); opaque = NO; autoresize = W+H; userInteractionEnabled = NO; layer = &amp;lt;CALayer: 0xc6b02b0&amp;gt;&amp;gt;
|    | &amp;lt;UIImageView: 0xb4873d0; frame = (0 1; 320 0.5); userInteractionEnabled = NO; layer = &amp;lt;CALayer: 0xb4874a0&amp;gt;&amp;gt;
| &amp;lt;UINavigationItemView: 0xb488da0; frame = (160 -16.5; 0 0); opaque = NO; userInteractionEnabled = NO; layer = &amp;lt;CALayer: 0xb48c630&amp;gt;&amp;gt;
|    | &amp;lt;UILabel: 0xb48c9e0; frame = (0 33; 0 0); clipsToBounds = YES; opaque = NO; userInteractionEnabled = NO; layer = &amp;lt;CALayer: 0xb48cae0&amp;gt;&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;That &lt;code&gt;0.5pt&lt;/code&gt; tall &lt;code&gt;UIImageView&lt;/code&gt; is the target.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-objectivec&#34; data-lang=&#34;objectivec&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;p&#34;&gt;[&lt;/span&gt;&lt;span class=&#34;nb&#34;&gt;self&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;subviews&lt;/span&gt; &lt;span class=&#34;nl&#34;&gt;enumerateObjectsUsingBlock&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;^&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;UIView&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;*&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;v&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;NSUInteger&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;idx&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt; &lt;span class=&#34;kt&#34;&gt;BOOL&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;*&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;stop&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;	&lt;span class=&#34;k&#34;&gt;if&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;([&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;NSStringFromClass&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;([&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;v&lt;/span&gt; &lt;span class=&#34;k&#34;&gt;class&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;])&lt;/span&gt; &lt;span class=&#34;nl&#34;&gt;rangeOfString&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;@&amp;#34;BarBackground&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;].&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;location&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;!=&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;NSNotFound&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;		&lt;span class=&#34;p&#34;&gt;[&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;v&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;subviews&lt;/span&gt; &lt;span class=&#34;nl&#34;&gt;enumerateObjectsUsingBlock&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;^&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;UIView&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;*&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;v&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;NSUInteger&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;idx&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt; &lt;span class=&#34;kt&#34;&gt;BOOL&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;*&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;stop&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;			&lt;span class=&#34;k&#34;&gt;if&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;([&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;v&lt;/span&gt; &lt;span class=&#34;nl&#34;&gt;isKindOfClass&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:[&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;UIImageView&lt;/span&gt; &lt;span class=&#34;k&#34;&gt;class&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;]])&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;				&lt;span class=&#34;k&#34;&gt;if&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;CGRectGetHeight&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;v&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;bounds&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;==&lt;/span&gt; &lt;span class=&#34;mf&#34;&gt;0.5&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;					&lt;span class=&#34;p&#34;&gt;[&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;v&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;removeFromSuperview&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;];&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;					&lt;span class=&#34;o&#34;&gt;*&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;stop&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;nb&#34;&gt;YES&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;				&lt;span class=&#34;p&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;			&lt;span class=&#34;p&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;		&lt;span class=&#34;p&#34;&gt;}];&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;		&lt;span class=&#34;o&#34;&gt;*&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;stop&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;nb&#34;&gt;YES&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;	&lt;span class=&#34;p&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;p&#34;&gt;}];&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;I coded this as defensively as possible, to not crush in case something changes in the future. Get the &lt;a href=&#34;https://github.com/radianttap/RTCleanNavigationBar&#34;&gt;RTCleanNavigationBar subclass on GitHub&lt;/a&gt; and use it like this:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-objectivec&#34; data-lang=&#34;objectivec&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;n&#34;&gt;UIViewController&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;*&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;vc&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;...;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;n&#34;&gt;UINavigationController&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;*&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;nc&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;[[&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;UINavigationController&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;alloc&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;]&lt;/span&gt; 
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    &lt;span class=&#34;nl&#34;&gt;initWithNavigationBarClass&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:[&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;RTCleanNavigationBar&lt;/span&gt; &lt;span class=&#34;k&#34;&gt;class&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;]&lt;/span&gt; 
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    &lt;span class=&#34;nl&#34;&gt;toolbarClass&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;nb&#34;&gt;nil&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;];&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;p&#34;&gt;[&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;nc&lt;/span&gt; &lt;span class=&#34;nl&#34;&gt;setViewControllers&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;l&#34;&gt;@[&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;vc&lt;/span&gt;&lt;span class=&#34;l&#34;&gt;]&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;];&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This works perfectly, does not trigger any issues with app review.  Hopefully it stays like that for the foreseeable time and Apple gives us a proper way to do this.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Allow landscape in portrait-only iPhone app, in iOS 7</title>
      <link>https://aplus.rs/2013/allow-landscape-in-portrait-only-iphone-app/</link>
      <pubDate>Fri, 15 Nov 2013 00:00:00 +0000</pubDate>
      <guid>https://aplus.rs/2013/allow-landscape-in-portrait-only-iphone-app/</guid>
      <description>&lt;p&gt;While working on Banca 4.1, I needed to allow landscape orientation for the demo video, while still keeping the rest of the app portraint-only. I knew that iOS 7 has changed the way orientation is handled and after some searching and trying few tricks, I compiled the solution.&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s suprisingly easy.&lt;/p&gt;
&lt;p&gt;The key is this method, which you need to add in your AppDelegate file:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-objectivec&#34; data-lang=&#34;objectivec&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;p&#34;&gt;-&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;NSUInteger&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt;&lt;span class=&#34;nf&#34;&gt;application:&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;UIApplication&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;*&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt;&lt;span class=&#34;nv&#34;&gt;application&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nf&#34;&gt;supportedInterfaceOrientationsForWindow:&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;UIWindow&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;*&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt;&lt;span class=&#34;nv&#34;&gt;window&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This is called each time a view controller (of any sort) is to be presented. They only key is to figure out the view hierarchy below the window and return &lt;code&gt;UIInterfaceOrientationMaskAllButUpsideDown&lt;/code&gt; for that case.&lt;/p&gt;
&lt;p&gt;My demo video is being shown as modal view controller, specifically &lt;code&gt;MPMoviePlayerViewController&lt;/code&gt;. However, to complicate the things, it&amp;rsquo;s being presented from view controller which is contained in navigation controller which is also modally presented. Sounds like quite a mess, but nothing unusual, really – in Banca 4.1 the sequence is two taps only: you tap on &amp;ldquo;Support&amp;rdquo; at the bottom right, then tap on &amp;ldquo;Watch demo video&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;Thus the trick is to hunt through the hierarchy and find where the MPMoviePlayerViewController is. Sort-of general solution might be like this:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-objectivec&#34; data-lang=&#34;objectivec&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;p&#34;&gt;-&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;NSUInteger&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt;&lt;span class=&#34;nf&#34;&gt;application:&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;UIApplication&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;*&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt;&lt;span class=&#34;nv&#34;&gt;application&lt;/span&gt; 
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nf&#34;&gt;supportedInterfaceOrientationsForWindow:&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;UIWindow&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;*&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt;&lt;span class=&#34;nv&#34;&gt;window&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;	
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;	&lt;span class=&#34;k&#34;&gt;if&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;([[&lt;/span&gt;&lt;span class=&#34;nb&#34;&gt;self&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;window&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;rootViewController&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;presentedViewController&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;]&lt;/span&gt; 
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;				&lt;span class=&#34;nl&#34;&gt;isKindOfClass&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:[&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;MPMoviePlayerViewController&lt;/span&gt; &lt;span class=&#34;k&#34;&gt;class&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;]])&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;		&lt;span class=&#34;k&#34;&gt;return&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;UIInterfaceOrientationMaskAllButUpsideDown&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;	&lt;span class=&#34;p&#34;&gt;}&lt;/span&gt; &lt;span class=&#34;k&#34;&gt;else&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;		
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;		&lt;span class=&#34;k&#34;&gt;if&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;([[&lt;/span&gt;&lt;span class=&#34;nb&#34;&gt;self&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;window&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;rootViewController&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;presentedViewController&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;]&lt;/span&gt; 
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;						&lt;span class=&#34;nl&#34;&gt;isKindOfClass&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:[&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;UINavigationController&lt;/span&gt; &lt;span class=&#34;k&#34;&gt;class&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;]])&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;			&lt;span class=&#34;c1&#34;&gt;//	look for it inside UINavigationController
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;			&lt;span class=&#34;n&#34;&gt;UINavigationController&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;*&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;nc&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;UINavigationController&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;*&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)[&lt;/span&gt;&lt;span class=&#34;nb&#34;&gt;self&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;window&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;rootViewController&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;presentedViewController&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;];&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;			&lt;span class=&#34;c1&#34;&gt;//	is at the top?
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;			&lt;span class=&#34;k&#34;&gt;if&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;([&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;nc&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;topViewController&lt;/span&gt; &lt;span class=&#34;nl&#34;&gt;isKindOfClass&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:[&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;MPMoviePlayerViewController&lt;/span&gt; &lt;span class=&#34;k&#34;&gt;class&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;]])&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;				&lt;span class=&#34;k&#34;&gt;return&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;UIInterfaceOrientationMaskAllButUpsideDown&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;			&lt;span class=&#34;c1&#34;&gt;//	or it&amp;#39;s presented from the top?
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;			&lt;span class=&#34;p&#34;&gt;}&lt;/span&gt; &lt;span class=&#34;k&#34;&gt;else&lt;/span&gt; &lt;span class=&#34;k&#34;&gt;if&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;([[&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;nc&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;topViewController&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;presentedViewController&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;]&lt;/span&gt; 
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;					&lt;span class=&#34;nl&#34;&gt;isKindOfClass&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:[&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;MPMoviePlayerViewController&lt;/span&gt; &lt;span class=&#34;k&#34;&gt;class&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;]])&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;				&lt;span class=&#34;k&#34;&gt;return&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;UIInterfaceOrientationMaskAllButUpsideDown&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;			&lt;span class=&#34;p&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;		&lt;span class=&#34;p&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;	&lt;span class=&#34;p&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;	
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;	&lt;span class=&#34;k&#34;&gt;return&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;UIInterfaceOrientationMaskPortrait&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;p&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Fairly easy.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Radiant iOS 7 future</title>
      <link>https://aplus.rs/2013/radiant-ios-7-future/</link>
      <pubDate>Thu, 20 Jun 2013 00:00:00 +0000</pubDate>
      <guid>https://aplus.rs/2013/radiant-ios-7-future/</guid>
      <description>&lt;p&gt;Given my &lt;a href=&#34;https://aplus.rs/2013/ios-7/&#34;&gt;previous&lt;/a&gt; two blog &lt;a href=&#34;https://aplus.rs/2013/ios-7-redux/&#34;&gt;posts&lt;/a&gt; about iOS 7, one would be forgiven to think I will rebel against it.&lt;/p&gt;
&lt;p&gt;But, there is really no choice here. This is the future of iOS and since this is my bread and butter, I will transition all my apps to it, doing my own thing. Over the years, I have tried various stuff as I learned this craft - to those who don&amp;rsquo;t know, before iPhone I did web and programmed in Javascript and classic ASP only. I now have a sense of how I want my apps to look, how they should behave, what personality they should have.&lt;/p&gt;
&lt;p&gt;I checked my most popular app - &lt;a href=&#34;http://radianttap.com/couchto5k/&#34;&gt;Try Couch to 5k&lt;/a&gt; - it looks great on the iOS 7, with not much changes required. I&amp;rsquo;ll remove the custom navigation bar and tab bar graphics as well as custom graphics I use for the bar button backgrounds. And that would be it. Adjust the look of UI here and there but it&amp;rsquo;s more or less just as I ever wanted it to be.&lt;/p&gt;
&lt;p&gt;There is room to make more substantial changes to the UI, which will be needed as I add more long-requested features in upcoming version 3.0. However, given that I&amp;rsquo;m only now transitioning it to iOS6-only app, the running apps will probably not be iOS7 only. I don&amp;rsquo;t see the need for it, at the moment.&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;http://radianttap.com/banca/&#34;&gt;Banca&lt;/a&gt; looks amazing with the grey theme. Most likely I will fold that theme to be the default and remove the rest, they are barely used anyway, by anyone. Gill Sans looks perfect there and with few possible improvements to the UI I&amp;rsquo;m thinking about, it will be awesome, the best currency converter on the store.&lt;/p&gt;
&lt;p&gt;However, this is just a stop gap. The real challenge would be to update my oldest apps to this brave new world. I had plans for few of them to make dramatic return as iOS 6 only apps (after being neglected for years), but that&amp;rsquo;s meaningless now - they will be pure iOS 7 apps, build from ground-up for it. One in particular is soooo fitting for all the wonderful changes in UIKit frameworks that I can&amp;rsquo;t wait to start working on it.&lt;/p&gt;
&lt;p&gt;I also have ideas for few more simple and efficient apps, but will keep it hush for now. There is plenty to do with existing stuff than to worry about that now.&lt;/p&gt;
&lt;p&gt;With that, I&amp;rsquo;m essentially &lt;em&gt;stopping all consulting work&lt;/em&gt; until iOS 7 has shipped - I removed the Consulting page from &lt;a href=&#34;http://radianttap.com/&#34;&gt;Radiant Tap&lt;/a&gt; web site. I have two client projects to complete, but that should not interfere much with iOS 7 plans.&lt;/p&gt;
&lt;p&gt;So, &lt;em&gt;get rich or die trying&lt;/em&gt; approach. There is this buzz in the iOS dev community that I have not seen since 2008. Everyone I follow on Twitter/App.net is pumped up and ready to try their best and attack the established and entrenched players in various fields, with exception of games.&lt;/p&gt;
&lt;p&gt;Looking forward to the Fall.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>iOS 7 redux</title>
      <link>https://aplus.rs/2013/ios-7-redux/</link>
      <pubDate>Tue, 18 Jun 2013 00:00:00 +0000</pubDate>
      <guid>https://aplus.rs/2013/ios-7-redux/</guid>
      <description>&lt;p&gt;Two days after the WWDC 2013 keynote I wrote a &lt;a href=&#34;https://aplus.rs/2013/ios-7/&#34;&gt;post about the iOS 7 changes&lt;/a&gt;, mostly driven by gut feeling. Now, a week or so later and after constant daily use of iOS 7, I feel I should write a bit more about this.&lt;/p&gt;
&lt;p&gt;I used iOS 7 on my second device (iPhone 5) but made sure I use it 90% of time, practically for everything I usually do expect phone calls / SMS (I put data-only card in it).&lt;/p&gt;
&lt;p&gt;A few notes, about the NDA, this being early beta and such: I whole-heartedly agree with several others that publicly speaking about beta 1 of iOS 7 is far from inappropriate. This is not mere iteration of the established - this is radical departure, a reset of the whole UX and not only it&amp;rsquo;s not wrong to discuss it, it should be welcomed by Apple. We are not haters - we are the most passionate advocates of iOS. We care and we want it to flourish and improve. This is not hating, this is caring.&lt;/p&gt;
&lt;p&gt;I re-watched the iOS 7 part of the keynote today to make sure I speak about and use screenshots of publicly shown stuff.&lt;/p&gt;
&lt;h2 id=&#34;overal-verdict&#34;&gt;Overal verdict&lt;/h2&gt;
&lt;p&gt;In essence, my thoughts/feelings are still the same as that first-looks article.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;For iOS 7, Apple&amp;rsquo;s team has chosen a very poor and significantly limited visual language.&lt;/li&gt;
&lt;li&gt;At the same time, UIKit team has knocked it out of the park with API changes and improvements (withholding tech names due to NDA) - I want to marry dynamic transitions - etc.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Photos / Calendar are now such pleasure to use. I&amp;rsquo;m a big fan of gestures and the way spatial transitions work across the system, especially in Photos, Calendar and Mail. It&amp;rsquo;s so good and so satisfying that going back to iOS 6 is a serious pain.&lt;/p&gt;
&lt;p&gt;Except…the visuals. No amount of animation joy can make me love this look. Every time I went to share something from Twitteriffic I would cringe. Every time I went back to springboard I would wince at the sight of that Safari icon.&lt;/p&gt;
&lt;p&gt;The transitions in navigation bars, when title would fade/slide to a back button is great. I spent minutes (more than once) slowly sliding email message to the right and look how they nailed the transition to mailbox. &lt;em&gt;Beauuuutiful&lt;/em&gt;. But then the back-button chevron would appear and poke me in the eye, being all so bright blue and bold right next to the Helvetica Neue Light.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://aplus.rs/images/2013/ios7-mailapp.png&#34; alt=&#34;Header of the Mail app&#34;&gt;&lt;/p&gt;
&lt;p&gt;I feared then and I fear now - this is not something that can easily be fixed. There are things that can be drastically improved and certain WWDC sessions are giving me hope it will happen. But there are fundamental issues with the direction Apple has chosen and I want to write down my take on it. It&amp;rsquo;s easy to be wise after the battle, so I&amp;rsquo;m writing this now and I want to see how my assessments will fare over time. To be honest, I would be happiest if I turn out to be dead wrong.&lt;/p&gt;
&lt;h2 id=&#34;issue-no1---text-with-no-soul&#34;&gt;Issue no.1 - text with no soul&lt;/h2&gt;
&lt;p&gt;Helvetica Neue is a life-less typeface. It has no soul, no warmth, it&amp;rsquo;s a brilliant but neutral, robotic font. The only reason it worked fine in iOS 6 and before it&amp;rsquo;s because it brought balance to visually-rich environment around it, with  textured bars, buttons and what not.&lt;/p&gt;
&lt;p&gt;In iOS 7, on that crystal-clear canvas, it&amp;rsquo;s absolutely wasted, especially with Ultra Light variant that&amp;rsquo;s predominantly used. Which is all the more ironic for me to say, as UL is my favorite weight of the whole family.&lt;/p&gt;
&lt;p&gt;Look no further than Stocks app.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://aplus.rs/images/2013/ios7-stocksapp.png&#34; alt=&#34;Stocks app&#34;&gt;&lt;/p&gt;
&lt;p&gt;No joy, no life, just monotone light text on dull background. Trust me, there is no color combo that will fix this.&lt;/p&gt;
&lt;p&gt;You can also look at the keyboard, as another example.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://aplus.rs/images/2013/ios7-keyboard.png&#34; alt=&#34;Keyboard&#34;&gt;&lt;/p&gt;
&lt;p&gt;I &lt;em&gt;loved&lt;/em&gt; typing on the pre-iOS7 keyboard, I wrote a good deal of project specs, emails and blog drafts with my iPad. The loveliness of the keys springing up and beautiful gradients subconsciously induced pleasure in use. This one is boring and uninspired.&lt;/p&gt;
&lt;p&gt;Want more proof of this? Ask your self - where does this new system font works the best?&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://aplus.rs/images/2013/ios7-weather.png&#34; alt=&#34;Weather app&#34;&gt;&lt;/p&gt;
&lt;p&gt;In Weather app, with visually rich background to balance it out.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m really, really surprised Apple went with that font when they had a perfect choice already there in front of them, on iOS 6: &lt;em&gt;Avenir Next&lt;/em&gt;. I actually think that it may well be the case that Avenir Next was a candidate for next system font while Forstall was in charge.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://aplus.rs/images/2013/avenirnext_weights.gif&#34; alt=&#34;Avenir Next family&#34;&gt;&lt;/p&gt;
&lt;p&gt;Avenir Next is joyful font, full of life, very distinct at both light and heavy ends. One thing I can guarantee - it will be featured front and center in my future apps.&lt;/p&gt;
&lt;h2 id=&#34;issue-no2---transparency&#34;&gt;Issue no.2 - transparency&lt;/h2&gt;
&lt;p&gt;It&amp;rsquo;s easy to bring Windows Vista into the picture to blight the iOS7 transparency. That would be the cheap shot. Instead I will use few examples from iOS 7 that will show you how very hard to control transparency is.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://aplus.rs/images/2013/ios7-timerblur.png&#34; alt=&#34;Timer tab is gone&#34;&gt;
&lt;img src=&#34;https://aplus.rs/images/2013/ios7-movieblur.png&#34; alt=&#34;UI is hard to read in a movie&#34;&gt;&lt;/p&gt;
&lt;p&gt;One might argue that these issues will be resolved with better background detection and better algorithm for image processing and…it&amp;rsquo;s all wasted time and effort. Because in order to make that Timer icon visible on black backgrounds you need to practically invert the colors, making a dynamic gradient. So you end up with a selected red icon, and a bunch of distinctly gradient-ed lines, leading to a visual mess.&lt;/p&gt;
&lt;p&gt;This approach has the same weakness as Facebook Home had. Which is that it looks perfect with carefully chosen backgrounds, the same way Fb Home looks great in the demo world where all your friends have &lt;a href=&#34;http://duncandavidson.com&#34;&gt;JD2-level&lt;/a&gt; photography skill. In real life though, it&amp;rsquo;s a disaster.&lt;/p&gt;
&lt;p&gt;The only way transparency is somewhat going to work is when they reduce it to a bare minimum, like 2-3%, making the content below barely visible. I predict that this will happen towards the final release.&lt;/p&gt;
&lt;h2 id=&#34;issue-no3---ipad-mini&#34;&gt;Issue no.3 - iPad mini&lt;/h2&gt;
&lt;p&gt;I have no idea how will iOS 7 look like on iPad mini, possibly the most popular iPad model by the time its retina successor is out. Seriously, can anyone imagine 8pt HN Ultra Light on non-retina screen?&lt;/p&gt;
&lt;p&gt;I set iOS Simulator to non-retina iPhone, but it&amp;rsquo;s not a good test of the iPhone, it&amp;rsquo;s a test of my MBP screen. It&amp;rsquo;s quite possible that on non-retina screens certain legibility setting will be defaulted to ON.&lt;/p&gt;
&lt;h2 id=&#34;issue-no4---the-missing-ui&#34;&gt;Issue no.4 - the missing UI&lt;/h2&gt;
&lt;p&gt;Apple is very adamant about the role UI elements should play in iOS 7 - it&amp;rsquo;s a supporting role to the content. UI must defer to the content and disappear from the screen as much as possible, whenever possible. Hence the complete removal of all backgrounds and borders from all bars and buttons. Hence the transparency. Hence the ultra light font and in-app icons.&lt;/p&gt;
&lt;p&gt;Just as original iPhone OS UI removed the physical keyboard to leave more useful room for the content, Apple is now pushing further down that path by attempting to remove the on-screen UI as much as it can.&lt;/p&gt;
&lt;p&gt;I have no doubt that at some point in the future they expect that Siri will be the main UI, with this on-screen noise rarely needed, if at all.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Siri, open apple.com
Siri, save to read later
Siri, summarize my email in last hour
Siri, message XXX…
Siri, buy &amp;lsquo;Q Music Sessions&amp;rsquo; album by &amp;lsquo;Within Temptation&amp;rsquo;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Etc.&lt;/p&gt;
&lt;p&gt;Hmm…I don&amp;rsquo;t know what to think about it. I&amp;rsquo;m not a fan. Reading email is not pleasant at all because the tab-bar is transparent white so it plays tricks with my mind - it draws my eye downward while reading and bright-blue sharp icons poke…well…&lt;/p&gt;
&lt;p&gt;I &lt;em&gt;like&lt;/em&gt; visually separated bars because they naturally create a separate canvas for the content and thus &lt;em&gt;emphasize&lt;/em&gt; the content. I like them best when they blend into the device around it, which means they should be as dark as sensible. Why? If you have the black iPhone, it&amp;rsquo;s obvious. But even if you have the white one - like I do and like all the presenters at the keynote used - that one still has a noticeable 2mm black border around the screen. You can theorize that future iPhones/iPads will have no bezel at all, but I seriously doubt that is the case.&lt;/p&gt;
&lt;h2 id=&#34;the-future&#34;&gt;The future&lt;/h2&gt;
&lt;p&gt;Like I said, I would be very happy to be very wrong. I will have to accept this change, one way or another.
There&amp;rsquo;s a blog post I&amp;rsquo;m writing on how my &lt;a href=&#34;http://radianttap.com/&#34;&gt;indie dev shop&lt;/a&gt; will approach iOS 7, should be up soon.&lt;/p&gt;
&lt;p&gt;In the mean time, I urge you to read the following great articles, especially the last one, if you still think all this criticism is inappropriate and misguided.&lt;/p&gt;
&lt;h2 id=&#34;further-reading&#34;&gt;Further reading&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;http://blog.jaredsinclair.com/post/52888572915/apps-are-content-too-there-is-a-word-that&#34;&gt;Jared Sinclair&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://blog.maxrudberg.com/post/53270660083/how-you-should-look-in-ios-7&#34;&gt;Max Rudberg&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Michael Heilemann&amp;rsquo;s triage: &lt;a href=&#34;http://binarybonsai.com/blog/ios7&#34;&gt;post 1&lt;/a&gt;, &lt;a href=&#34;http://binarybonsai.com/blog/white-on-white&#34;&gt;post 2&lt;/a&gt; and &lt;a href=&#34;http://binarybonsai.com/blog/action-or-state&#34;&gt;post 3&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Final &lt;a href=&#34;http://binarybonsai.com/blog/on-discipline&#34;&gt;Michael Heilemann&lt;/a&gt;&amp;rsquo;s post&lt;/li&gt;
&lt;/ul&gt;</description>
    </item>
    
    <item>
      <title>iOS 7</title>
      <link>https://aplus.rs/2013/ios-7/</link>
      <pubDate>Wed, 12 Jun 2013 00:00:00 +0000</pubDate>
      <guid>https://aplus.rs/2013/ios-7/</guid>
      <description>&lt;p&gt;WWDC 2013 keynote was two days ago and I&amp;rsquo;m still struggling to come to terms with the changes introduced to my beloved mobile OS and, for over a year now, the field where I make my living.&lt;/p&gt;
&lt;p&gt;On one hand, I&amp;rsquo;m extremely impressed with the stuff Apple introduced. There are very important and good API changes that are introduced, things that would help me and fellow developers make much better apps.&lt;/p&gt;
&lt;p&gt;On the other hand…&lt;em&gt;visual&lt;/em&gt; changes are…appalling, simply shockingly bad. This, from a company universally hailed as masters of making things that create emotional connection. Starting from lock screen, over the app icons and to the way UI controls are done, it&amp;rsquo;s heartbreaking.&lt;/p&gt;
&lt;p&gt;When I think about user experience, I see it consisting of three important parts:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;how it works&lt;/li&gt;
&lt;li&gt;how it feels&lt;/li&gt;
&lt;li&gt;how it looks&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;This is not accidental ordering. From 1 to 3, it defines the weighted importance of long-term success of any human interface. It&amp;rsquo;s most important that it works well, that has a good basis to build on, so it can be slowly and iteratively perfected over time. It&amp;rsquo;s important that it feels natural and delights people over time while they discover how it behaves like a natural extensions of their actions and reactions. It&amp;rsquo;s important that it looks good, because we, humans, responds most positively to pretty things, with just the right amount of polish.&lt;/p&gt;
&lt;p&gt;In that previous paragraph, lies the major issue with iOS 7 as it exists today. We, as humans, judge things in inverted order - from 3 to 1. We must like what we see at the first split-second, otherwise we tend to disregard the thing. And thus fail to discover the inner beauty.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;I feel like Apple spent 99% of the time on the important metrics that will define the next decade of iOS, on works/feels parts. And 1% on the looks part.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m probably wrong, but that&amp;rsquo;s how it feels to me.
From all that I saw in the WWDC videos (under NDA, so can&amp;rsquo;t really tell much) they wonderfully succeeded with 1/2. The API changes and new stuff that are introduced are great, building on amazing stuff done in iOS 6 (collection views, auto layout etc). The dev tools are improved and fixed in ways that took away the most troubling parts of the everyday development life.&lt;/p&gt;
&lt;p&gt;The beauty and the feel of the animations and transitions more than once made me to jump with joy. I smiled like a kid in a candy store every time a transition happened from starting/closing an app, inter-app navigation, inner-app navigation between views etc. It&amp;rsquo;s really, really well done.&lt;/p&gt;
&lt;p&gt;But those are all fleeting moments. The majority of time, I, as customer, am looking at these poor app icons:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://aplus.rs/images/2013/ios7-appicons.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;
&lt;p&gt;And these wireframe-ish in-app icons (will 3rd-party service&amp;rsquo;s icons be auto-processed into this?):&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://aplus.rs/images/2013/ios7-share.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;
&lt;p&gt;And this terribly illegible UI:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://aplus.rs/images/2013/ios7-cc.png&#34; alt=&#34;&#34;&gt;
&lt;img src=&#34;https://aplus.rs/images/2013/ios7-tabbar.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;
&lt;p&gt;And this inconsistently applied HIG direction:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://aplus.rs/images/2013/ios7-contacts.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;
&lt;p&gt;And these garish line icons that poke me in the eye all while claiming they are done this way so they emphasize the content:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://aplus.rs/images/2013/ios7-eyepoke.png&#34; alt=&#34;&#34;&gt;
&lt;img src=&#34;https://aplus.rs/images/2013/ios7-eyepoke2.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;
&lt;p&gt;At first, I thought these are temporary stuff, part of beta 1. After all, it may look horrible but it&amp;rsquo;s important that developers get their hands on iOS 7 so they can prepare their apps. But then I realized that this is used in promotional videos on apple.com. This is used and details are specified in iOS 7 HIG. That they actually changed app icon&amp;rsquo;s corner radius and size (for the worse) which is not something you waste your time on is this is only temporary.&lt;/p&gt;
&lt;p&gt;I now think this is here to stay for years to come, which is making me really sad.&lt;/p&gt;
&lt;p&gt;Did it have to be this way? Absolutely not and few good souls used couple of hours or a day and showed what you could do with just a little more care.&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;http://dribbble.com/shots/1109343-iOS-7-Redesign&#34;&gt;&lt;img src=&#34;https://aplus.rs/images/2013/ios7-dribble-home.jpg&#34; alt=&#34;Home screen&#34;&gt;&lt;/a&gt;
&lt;a href=&#34;http://dribbble.com/shots/1109500-iOS-7&#34;&gt;&lt;img src=&#34;https://aplus.rs/images/2013/ios7-dribble-maps.png&#34; alt=&#34;Maps&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For goodness sake, just look at the maps example and tell me which one of the toolbar/navbar feels more natural. The app icon grid is beyond commenting - example on the left is more consistent, better looking and with perfect corner radius for the icons.&lt;/p&gt;
&lt;p&gt;Apple set fire on the last 6 years of iterations and started from new. They could have taken a bit more time and start from a much better position than this 3-yo children&amp;rsquo;s scribble book.
Whoever pushed for and decided this is the proper way to go is not fit for the job. Apple has managed to move from the best looking mobile OS on the market to worst looking one, by a whole mile. &lt;br&gt;
This is the current state of the market:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://aplus.rs/images/2013/mobile-os-comparison.jpg&#34; alt=&#34;iOS 6, Windows Phone 8, HTC Sense 5, Samsung TouchWiz, iOS 7&#34;&gt;&lt;/p&gt;
&lt;p&gt;Now you tell me, honestly - if you knew nothing of the market and you are a feature phone customer going to get a new phone in the store - which one of the above would you choose? &lt;br&gt;
Honestly?&lt;/p&gt;
&lt;p&gt;For more perspective, agreeing and disagreeing with me, read these:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;http://www.macstories.net/stories/ios-7-thoughts-and-questions/&#34;&gt;MacStories&lt;/a&gt;, by Federico Viticci&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://furbo.org/2013/06/11/been-there-done-that/&#34;&gt;Craig Hockenberry&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://frankchimero.com/blog/2013/06/generosity-of-perspective/&#34;&gt;Frank Chimero&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://512pixels.net/2013/06/rolling-on/&#34;&gt;Stephen Hackett&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://daringfireball.net/2013/06/ios_7_signature&#34;&gt;John Gruber&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://medium.com/product-experience/9a7b4648fe8b&#34;&gt;Mike Rundle&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://medium.com/wwdc-round-up/275a56688510&#34;&gt;Ryan Katkov&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://thisisentropy.com/chatterbox/2013/6/12/start-preparing-for-ios-7-now&#34;&gt;Entropy&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://blog.jaredsinclair.com/post/52888572915/apps-are-content-too-there-is-a-word-that&#34;&gt;Jared Sinclair&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://releasecandidateone.com/253:given_time&#34;&gt;Chris Clark&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://ianstormtaylor.com/whats-wrong-with-the-ios-7-icons/&#34;&gt;Ian Storm Taylor&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://www.imore.com/ios-7-and-continuing-gamification-interface&#34;&gt;iMore&lt;/a&gt; by Rene Ritchie&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Even people that are defending the iOS 7 visual changes, people that say this is how Apple rolls, compare it to OS X and iMac reboots - no one, and I mean no one is saying that they love the new looks. Can you remember a successful Apple product where even their most hardened supporters felt like that..?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt; (late evening of Jun 12):
Matthew Panzarino just posted &lt;a href=&#34;http://thenextweb.com/apple/2013/06/12/why-does-the-design-of-ios-7-look-so-different/&#34;&gt;an amazing article&lt;/a&gt; at The Next Web, with several details that finally make sense in this whole mess:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;previous Apple UI team had no say about the iOS 7 UI guidelines&lt;/li&gt;
&lt;li&gt;those were done by marketing/print people &lt;del&gt;and possibly even former Color team&lt;/del&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I&amp;rsquo;m lost for words. Jiminy!&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>