UIImage View does not display in launch storyboard iOS 8 - ios8

I am trying to create a launch storyboard for an iOS 8.1 app using Xcode 6.1.1
If i create a ViewController, add a view and add a label to that view, it all seems to work fine on actual devices. But when I add a UIImageView with an image file, the image never appears on the device.
Has anyone else had this problem? Has anyone else been successful just having a simple UIImage in a launch storyboard? I must be missing something.
FGRios

Just use image file added to project, not from *.xcassets

I had exactly the same issue. Removing the app from my phone, reboot the phone, and reinstalling the app fixed it for me.

Related

Itunes connect Rejection- iPhone only

I submitted my game to the app store and it got rejected because it didn't comply to iPad sizing, were I specified on iPhone on Xcode.
Yet apple thought otherwise.
Am I missing something? Where else do I specify only iPhone? iTunes Connect?
Check that you have
Scene.scaleMode = .aspectFit
added in the ViewController.swift file.
I had it set to aspectFill and it messed up the iPad view. When I changed it to .aspectFit, it worked great.
You just need to adjust that is is a iPhone only app not a ipodtouch/iPhone. Then you should pass.
In the application's Build Settings change the Targeted Device Family to iPhone, instead of iPhone/iPad or to 1 instead of 1,2.
I added a screenshot but my app is universal so i have both 1,2 set.

LaunchScreen working on iOS9 but not on iOS8

I am getting black screen on iOS 8 device.
Launch screen from LaunchScreen.storyboard works fine on iOS9 device.
I am pretty sure you did not need a launch image asset for iOS8 until I upgraded to Xcode 7
After much head banging, I found out that I had tried to attached a Cocou Touch file with my LaunchScreen View Controller. That was causing the problem. Once I removed the all outlet references from my launch screen, it started working in iOS 8.

UIPickerView is not showing and CLLocationManager is not working in iOS 8

I want to my already build app work on iOS 8, so I install Xcode 6.0 and run my app into iOS 8 it is showing me few issues.
Picker view's values are not showing UIPickerView in iOS 8.
Location CLLocationManager is not working in iOS 8.
Kindly help me on these if some body faced these issues already. Looking for response.
Thanks.
In iOS 8 you need 2 parts to get permission for CLLocationManager.
Provide one of the following strings in the info.plist file
NSLocationAlwaysUsageDescription
NSLocationWhenInUseUsageDescription
Call the appropriate permission method in code which matches the string above
requestAlwaysAuthorization
requestWhenInUseAuthorization

How to solve changing location for Controls due to expansion in xcode 4.5 for UIView?

I have upgraded my xcode to 4.5 every thing is fine until I have added to my previous solution (which I had already developed it using xcode 4.3) new UIView which has a UIImageview control I have noticed that UIImage control location in xib differ than it's location when i run my app on ios5 devices
Any Idea how to solve this issue?
I'm not sure that i've understand your question correctly.
Try to hide device's statusbar.
You can do it in a current target settings or programmatically:
[UIApplication sharedApplication] setStatusBarHidden...

How to resize window and views when porting from iPhone to iPad?

I am porting my iPhone app to the iPad (I did a straight copy of the iPhone code, renamed it, and set the mainwindow.xib size to iPhone/iPod).
I don't see anything that will allow me to resize the newly renamed app to iPad. How do I do that?
Apparently it can't be easily done. I gave up and re-wrote the app.

Resources