react-native-macos/React
zhongwuzw e40a76715a Remove explicitly add png file extension when load local image (#23864)
Summary:
We need to remove adding png file extension when path has not extension. Two reasons:
1. `imageWithContentsOfFile` or other `UIKit` methods can load png image correctly, even if path has not `png` file extension.
2. Sometimes, people may have file that actually not have file extension, it's the designated behavior for user. Like #23844 .

CC. sahrens cpojer .

[iOS] [Fixed] - Remove explicitly add png file extension when load local image
Pull Request resolved: https://github.com/facebook/react-native/pull/23864

Reviewed By: shergin

Differential Revision: D14425373

Pulled By: hramos

fbshipit-source-id: 3cc06c9a3d68cadf652c1de742f3cce26258c874
2019-03-18 23:03:32 -07:00
..
Base Remove explicitly add png file extension when load local image (#23864) 2019-03-18 23:03:32 -07:00
CxxBridge Change invalid bridge log level from error to warn (#24005) 2019-03-18 10:48:59 -07:00
CxxModule Silence Xcode warning (#23880) 2019-03-12 22:08:21 -07:00
CxxUtils Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
DevSupport TM iOS: disable remote debugging toggle when TurboModule is active 2019-03-01 14:30:35 -08:00
Fabric fbios BottomSheet implementation 2019-03-15 14:37:39 -07:00
Inspector Don't reconnect inspector if connection refused (#22625) 2019-02-21 12:52:39 -08:00
Modules - add more iOS flags into AccessibilityInfo (#23913) 2019-03-15 11:34:20 -07:00
Profiler Fix 50 xcode warnings (#23553) 2019-02-20 10:17:26 -08:00
React.xcodeproj Move Bridge RCTSurfacePresenterStub category implementation to .m file (#23888) 2019-03-15 11:22:53 -07:00
UIUtils Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Views Fixed minuteInterval invalid in time mode (#23923) 2019-03-15 11:34:20 -07:00
React-Core.podspec Split React.podspec into separate podspecs for each Xcode project (#23559) 2019-02-21 18:35:44 -08:00
React-DevSupport.podspec Split React.podspec into separate podspecs for each Xcode project (#23559) 2019-02-21 18:35:44 -08:00
React-RCTFabric.podspec Fabric: working podspecs & works in RNTester (#23803) 2019-03-15 23:59:22 -07:00
third-party.xcconfig Upgrade folly to v2018.10.22.00 for iOS (#21976) 2018-10-29 12:13:11 -07:00