B4X:
Private Sub Page1_Resize(Width As Int, Height As Int)
Log("12{34567".LastIndexOf2("{", 6))
Log("12{34567".LastIndexOf2("{", 7))
Log(LoadBitmap(File.DirAssets, "testing.jpg"))
Log(LoadBitmap(File.DirAssets, "icon1234.jpg"))
End Sub
Logs in Debug mode:
Copying updated assets files (1)
Application_Start
Application_Active
-1
-1
<B4IBitmap: <UIImage: 0x1c00a9cc0>, {130, 130}>
<B4IBitmap: <UIImage: 0x1c40aba00>, {130, 130}>
Logs in Release mode:
......on-demand-resources YES --sticker-pack-identifier-prefix .sticker-pack. --target-device iphone --target-device ipad --minimum-deployment-target 7.0 --platform iphoneos --product-type com.apple.product-type.application --compile /Users/administrator/Documents/UploadedProjects/<user id>/Payload/B4i\ Example.app /Users/administrator/Documents/UploadedProjects/<user id>/Images.xcassets
Error: ** BUILD FAILED **
The following build commands failed:
CpResource icon1234.jpg Payload/B4i\ Example.app/icon1234.jpg
(1 failure)