Images not showing up when architecture set to 64 bit
Answer lies here:
https://devforums.apple.com/message/922989#922989
I found the reason. In a viewController, which was not yet allocated, but included in the app, there was following implemented (in the .m-file above implementation viewController):
@implementation UIImageView (UIScrollView)
- (void)setAlpha:(float)alpha {
..........(no difference if here is some code or not) ...............
[super setAlpha:alpha];
}
@end
Putting above in comment solved the problem, even though the button which didn't display the image wasn't in a scrollview.
image analysis and 64bit OS
You can run 32 bit apps on a 64-bit OS, but they run in "WoW" (windows on windows). That is, they still run as a 32 bit app, with all the restrictions a 32-bit app has. To run as a native 64 bit app, they have to be proper 64 bit applications.
Managed (C#) code is not 32/64 platform-specific - it will be JIT compiled into the correct sort of code to run natively on the host PC. However, any unmanaged code (C++, most third party dlls) will have been pre-compiled as 32-bit or 64-bit, so you have to use the correct version of the dll for your host PC.
If you try to run your program on 64 but use a 32-bit dll, when you try to call the dll your program will simply crash with a "bad image format" error.
So... to make your program truly 64 bit, you will need to build a version that links to the 64-bit Congnex library.
You can target any type of processor from Visual Studio, so you don't need to have a 64 bit PC to develop a 64 bit app (although you will beed a 64-bit pc to test it on!)
Related Topics
Return Value from Completion Handler - Swift
Sending a Private Message to Your Friends via Facebook iOS Sdk
How Programmatically Restart an iPhone App in iOS
Are Headphones Plugged In? iOS7
Development Team Not Showing in Xcode
Application Executable Is Missing a Required Architecture Armv6
How Shouldchangecharactersinrange Works in Swift
Why to Use Tuples When We Can Use Array to Return Multiple Values in Swift
How to Disable Afnetworking Cache
Uitableviewcell Set Selected Initially
Various Itms Errors When Trying to Submit Archive to App Store
Swiftui: Deleting Last Row in Foreach
Set Custom Images to the Uibarbuttonitem But It Doesn't Show Any Image
iOS Nested View Controllers View Inside Uiviewcontroller's View
Uiview Touch Event in Controller
Disable Bitcode for Project and Cocoapods Dependencies with Xcode 7
How to Put the Uipagecontrol Element on Top of the Sliding Pages Within a Uipageviewcontroller