Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3FA2710D80 for ; Tue, 3 Sep 2013 19:43:21 +0000 (UTC) Received: (qmail 48862 invoked by uid 500); 3 Sep 2013 19:43:21 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 48702 invoked by uid 500); 3 Sep 2013 19:43:19 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 48653 invoked by uid 99); 3 Sep 2013 19:43:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Sep 2013 19:43:11 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of agrieve@google.com designates 209.85.192.172 as permitted sender) Received: from [209.85.192.172] (HELO mail-pd0-f172.google.com) (209.85.192.172) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Sep 2013 19:43:02 +0000 Received: by mail-pd0-f172.google.com with SMTP id z10so6474712pdj.17 for ; Tue, 03 Sep 2013 12:42:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=BVZyFEcmvvMYWokoBlPEWqAqE9S1UwGDrTDNBJcXR1Q=; b=PeTtl18/XNaF/ZNY+V3uNyHUPFKE0Z3JATG26RhCyFOUXG+Ts9Talk4I3YOQCyKdsq uLVQH3JndNJe8AuG9uB7VUBhw+e7XmLkW03aUlzQIBNk281EB1MG0+t9DVYyQRqxavdH AZq9V5P2xXLhj4miyGxYAZPcIwHyenTO8JoLDV1JKL+quypXrrwZsff/h9iVtrJ4sGYB +MABLL2acXmF1IYuaNk1Ybp5b+ExA024MH+BqgFgs5pIOuTDYFnZ8mg95YdD8XYbrEDk 9gS1DM2iM1NCJVm1FH9bPKVZ642+ZTDoME7JP1qF8MUZtHwOSEllj3qU+MySl+w4mFAo iY6Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=BVZyFEcmvvMYWokoBlPEWqAqE9S1UwGDrTDNBJcXR1Q=; b=hks2/z4ZNj4gda7m4yT76ey7u/vexmB65xGGmbLS8kEgqAvqozffA3oHby01MFzGFz XInop1Pun+0pX1Gu4yTH4C4ZfxR59dWZ/g/sBRMOTuLQKuuTr7oDOZIuir5ylOpNwaVE 3WygS+Uc27e/K5bEMIw2+qIpLa+TS5tweHMmI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:content-type; bh=BVZyFEcmvvMYWokoBlPEWqAqE9S1UwGDrTDNBJcXR1Q=; b=O/UHVw0Obfv3NDxwetVJPQcEzCIPoMSCbScvhmyiEHNX0TUSaKs3q7ZbxKhiUBcAI7 jOKobimp5HVrxQufOOVVoo4ugcBuXaX215Sn+SkiyOeaXlBEtY5VjxsTrsL1jLar/TzO DhgAu6oMUlP+4TX5aICGTlyaKu3CWhCop24JZFtxkoT9yNetN64EKWUwYQFFMZUjS6lt XTtGhzKq676O350phEGDL3skei9N7JoPc8q6PIlrVXHqypNc5UFktFmR0kuZDZwJQ6mm LnjGvXspDRvvPFVs8FNEIT6vfNMkcp1s1Rt4ZfRzm8tP3/fdBTRH4N7nE6/nwZ8rP3ur FODQ== X-Gm-Message-State: ALoCoQkxfjF1m+qFZ6IEtcVJ4JxvcM0SAuye+f9FPikM0+dte8mkIDvgMjt5JIZ8yfFTuCNmj1JBB7zl5Hq10gFE2NpPhPD48l/1yat6MxADSydeh5TclS6WzpPPHY4DZ+aejEoTT8nC2DwRja8ClWOk97kSzBi0FYaOQMj5xbO6Fb+uUyWElY+a2ndORIPYYJJ0oWXiyJINpYi00PihkiFhU4UMfQetSQ== X-Received: by 10.68.133.71 with SMTP id pa7mr10906203pbb.133.1378237360835; Tue, 03 Sep 2013 12:42:40 -0700 (PDT) MIME-Version: 1.0 Sender: agrieve@google.com Received: by 10.68.28.33 with HTTP; Tue, 3 Sep 2013 12:42:20 -0700 (PDT) In-Reply-To: References: <-318307264453100144@unknownmsgid> From: Andrew Grieve Date: Tue, 3 Sep 2013 15:42:20 -0400 X-Google-Sender-Auth: CfrOSwZO3n6VqLTW6WSLiKyyWO8 Message-ID: Subject: Re: New iOS 7 UI and backwards compatibility To: dev , Shazron Abdullah Content-Type: multipart/alternative; boundary=e89a8ffbabed4f275604e57fe485 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8ffbabed4f275604e57fe485 Content-Type: text/plain; charset=ISO-8859-1 Shaz, can you test this fix? (I haven't gotten on the 4.5 bandwagon yet) On Tue, Sep 3, 2013 at 10:59 AM, PJ Dillon wrote: > For our purposes, CDVSplashScreen.m (as of 2.9.0) just needed a test for > the OS version when calculating the image bounds: > > diff --git a/CordovaLib/Classes/CDVSplashScreen.m > b/CordovaLib/Classes/CDVSplashScreen.m > index fdb79fa..809ce35 100644 > --- a/CordovaLib/Classes/CDVSplashScreen.m > +++ b/CordovaLib/Classes/CDVSplashScreen.m > @@ -170,7 +170,9 @@ > // There's a special case when the image is the size of the screen. > if (CGSizeEqualToSize(screenSize, imgBounds.size)) { > CGRect statusFrame = [self.viewController.view > convertRect:[UIApplication sharedApplication].statusBarFrame fromView:nil]; > - imgBounds.origin.y -= statusFrame.size.height; > + if (floor(NSFoundationVersionNumber) <= > NSFoundationVersionNumber_iOS_6_1) { > + imgBounds.origin.y -= statusFrame.size.height; > + } > } else { > CGRect viewBounds = self.viewController.view.bounds; > CGFloat imgAspect = imgBounds.size.width / imgBounds.size.height; > > > On Tue, Jul 16, 2013 at 11:38 AM, Kerri Shotts >wrote: > > > Would help if I paid attention to which group things are in... ;) thought > > it was in the main forum for some reason (not enough caffeine). > > > > Do file bugs; filing bugs is pretty safe (since how else can devs fix > > issues related to iOS7.) > > > > That said, I would still expect the support to be an issue, since > something > > could easily break in beta 4. In fact people on the forums have been > > complaining about breaks between beta 2 and 3. > > > > Also, do search the forums for the status bar piece (unless that has been > > dealt with in 2.9.0/3.0) since there is a really simple line of code you > > can add to get back to iOS6 metrics. (Side note: clearly Apple wants us > to > > go this new direction, so whether or not PG should even build this in by > > default is debatable in my opinion. We all, native and non-native devs > > alike have to live in this new world and adjust our UI to reflect what > > makes sense here for each app. Perhaps a config.xml setting might be > > useful, though, although it should be equally doable in JS/CSS/HTML to do > > the required changes. Do note that this is not just a hardship faced by > us: > > all native devs are also having to take a hard look at their app and > > statistics to see if supporting iOS 6 and 7 is feasible or not, and > judging > > from the forum, a large number are going iOS7 only. ) > > > > Sent from my phone. > > > > ___________________________________ > > Kerri Shotts > > photoKandy Studios, LLC > > > > On the Web: http://www.photokandy.com/ > > > > Social Media: > > Twitter: @photokandy, http://twitter.com/photokandy > > Tumblr: http://photokandy.tumblr.com/ > > Github: https://github.com/kerrishotts > > > https://github.com/organizations/photokandyStudios > > CoderWall: https://coderwall.com/kerrishotts > > > > Apps on the Apple Store: > > > > https://itunes.apple.com/us/artist/photokandy-studios-llc/id498577828 > > > > Books: > > > > http://www.packtpub.com/phonegap-2-mobile-application-hotshot/book > > http://www.packtpub.com/phonegap-social-app-development/book > > > > On Jul 16, 2013, at 10:14, Andrew Grieve wrote: > > > > There have been no splash screen fixes since 2.9.0 that I'm aware of. > > Please file a bug on our jira:https://issues.apache.org/jira/browse/CB > > > > > > On Tue, Jul 16, 2013 at 10:56 AM, PJ Dillon wrote: > > > > Hi, > > > > > > I haven't found any discussion about this searching through my mail. But > > > > the UI is broken in iOS 7. I actually don't know if I'm allowed to > discuss > > > > the details. It's glaringly obvious, though, and it makes compatibility > > > > with iOS 6 somewhat of a chore for cordova-based apps, especially with > the > > > > position splash screen.... unless I'm mistaken. > > > > > > So, before I go hacking around with our view controller to accommodate > both > > > > 6 & 7, has this been taken care of already, and I'm just overlooking it? > > > > > > We're trying to get an app out the door as soon as iOS 7 launches. > > > > > > Thanks, > > > > > > PJ Dillon > > > > Sulia, Inc > > > --e89a8ffbabed4f275604e57fe485--