shazron commented on issue #352: CB-13510: (iOS) Removed clipboard workaround, 
which was braking copy/paste functional iOS 11
URL: https://github.com/apache/cordova-ios/pull/352#issuecomment-358559980
 
 
   You need to do this at runtime. Jesse's check above will omit the code 
needed on older iOSes during compile time on Xcode 9, thus break the feature at 
runtime for iOS 10 devices.
   
   The pasteboard code above should only be loaded if the iOS version is less 
than 11.
   ```obj-c
   if (!IsAtLeastiOSVersion('11.0')) {
     // put pasteboard code here
   }
   ```
   (IsAtLeastiOSVersion is in CDVAvailability.h)
    

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org
For additional commands, e-mail: commits-h...@cordova.apache.org

Reply via email to