[ 
https://issues.apache.org/jira/browse/CB-6360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13964299#comment-13964299
 ] 

ASF GitHub Bot commented on CB-6360:
------------------------------------

GitHub user robinnorth opened a pull request:

    https://github.com/apache/cordova-plugin-inappbrowser/pull/37

    CB-6360: Fix for crash on iOS < 6.0

    CB-6360: Fix for crash on iOS < 6.0, as described at 
https://issues.apache.org/jira/browse/CB-6360

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/robinnorth/cordova-plugin-inappbrowser master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-plugin-inappbrowser/pull/37.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #37
    
----
commit bdbcc652b8efc92d79c515f4a49f913018188b90
Author: Robin North <[email protected]>
Date:   2014-04-09T15:48:00Z

    CB-6360: Fix for crash on iOS < 6.0
    
    CB-6360: Fix for crash on iOS < 6.0, as described at 
https://issues.apache.org/jira/browse/CB-6360

----


> The InAppBrowser crash on IOS 5.1 >NSInvalidArgumentException', reason: 
> '-[UILabel setMinimumScaleFactor:
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: CB-6360
>                 URL: https://issues.apache.org/jira/browse/CB-6360
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS, Plugin InAppBrowser
>    Affects Versions: 3.3.0, 3.4.0
>         Environment: Cordova 3.3 or 3.4 Xcode 5.0.1. Test on Ipad 2, Iphone 
> 3GS
>            Reporter: Gilles Benzerrouk
>            Assignee: Shazron Abdullah
>              Labels: InAppBrowser, crash, ios5
>         Attachments: CB-6360.patch
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> When i try to launch  the InAppBrowser with : 
> var ref =window.open(urlCt, 
> '_blank','location=yes,closebuttoncaption=Fermer,EnableViewPortScale=yes'); 
> InAppBrowser  crash.
> Here the log on Xcode 5.0.1
> 2014-03-26 08:48:38.480 ParisFood[405:707] -[UILabel setMinimumScaleFactor:]: 
> unrecognized selector sent to instance 0xecb7b10
> 2014-03-26 08:48:38.485 ParisFood[405:707] *** Terminating app due to 
> uncaught exception 'NSInvalidArgumentException', reason: '-[UILabel 
> setMinimumScaleFactor:]: unrecognized selector sent to instance 0xecb7b10'
> *** First throw call stack:
> (0x30fc588f 0x37303259 0x30fc8a9b 0x30fc7915 0x30f22650 0x49409 0x47bfd 
> 0x43f8f 0x43bc5 0x223c9 0x21cef 0x21899 0x21a7f 0x21991 0x30f241fb 0x318e1747 
> 0x30f99ad3 0x30f9929f 0x30f98045 0x30f1b4a5 0x30f1b36d 0x32f95439 0x3067ecd5 
> 0x2808f 0x28050)
> terminate called throwing an exception
> Before on cordova 2.9 everything was working well !!!



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to