I have recently started working on IOS app development and was encountering an issue. I have downloaded XCode 6.1.1 and my target SDK is IOS 8.1.
On building and running my application I dont have the mobile/Iphone interface coming up in which I can check my layout how the app will be presented once it is deployed on Iphone. All I get is a rectangular box which is definitely not resizable and I am unable to check my app.
On this rectangular box which is definitely not the one I am expecting, I can see my labels and buttons in a crap state.
I tried changing the SDK version to 7.1, changed the build type from debug to release, change the deployment target to 7.1 also, using Iphone 5S,7.1 simulator also but the issue seems non-resolved.
It looks like you're on 100% zoom, so you should be able to see the full phone by zooming out. In the iOS simulator, in the top bar go to Window->Scale and select 50% or 75%. If the zoom level is the problem, that should fix it. Hope it helps :)
Related
I just published a very simple app on the App Store. I wrote it for iOS 9.1 because to download Xcode 8 I would have to upgrade my laptop to El Capitan or Sierra (it's running Yosemite slowly so I don't think its a good idea).
When I was testing the app, I used a device running iOS 9.1, because the iPhone used must be running the same OS number that the app was programmed for, for some reason.
I published the app and I downloaded into two phones, an iPhone 5s running iOS 9.3 and an iPhone SE running iOS 10. The 5s works fine, however when I run the app on the SE, thick white lines appear at the bottom of every UIButton. I've tried deleting the app and reinstalling, but the problem still occurs.
I've never coded on Swift 3, and this is my first App Store release, so I'm clueless as to what the problem is. I haven't found any information online regarding this.
Is this a problem I can fix? If so, how can I fix it?
Here's my app, btw (shameless plug) : https://itunes.apple.com/es/app/breakitup/id1207626557?l=ca&mt=8
As you can see, white lines appear at the bottom of the buttons
There is not an issue with your code or XIB related issue.
Check your Setting -> General -> Accessibility -> Turn Off Button Shapes.
Run your project again. It will not shows you underline below buttons.
So I'm working through the BNR iOS objective c book, and I want to run a project on the iPad simulator. according to the book, I change the deployment device in the general settings for the project target as "universal," which I did.
However when I run and switch to any iPad on the simulator I get drawn back to the main method of my project. The iPad does appear after a delay, but without the app I built. I've set all the views in my xibs to "inferred" but I still can't run my project on iPad.
Any help would be appreciated, thanks.
This is probably because the app is crashing. it's possible if you created the app without setting it to universal it is missing a storyboard for iPad which would cause a crash and take you to that area. You should look at the console logs and see what is happening. There should be good information in there as to what is missing or why it's crashing right away.
Is there any known Bug regarding the iOS Simulator and UITabBar for iOS 8.1 and 8.2? Today I noticed during testing that text heavily shines through the UITabBar when running in the 8.1 and 8.2 Simulators, while other iOS versions work flawlessly.
I want to make sure there's no additional work needed, as the iOS 8 UINavigationBar translucent color drawing issues immediately came to my mind.
Demo Setup
Create fresh Tabbed App (using ObjC or Swift)
Delete the First View and add a UITableViewContoller with dummy Static Cells
Results
Run the application, on iOS 8.1 and 8.2 Simulators the text shines through, on iOS 8.3 and above everything is working as expected.
Not related to Simulator Scaling, tested. Using a late 2013 rMBP with discrete GPU, El Capitan 10.11.2 and Xcode 7.2 (7C68). Working fine on device running iOS 9.
Question: I don't have any iOS 8.x devices around anymore, can somebody please confirm (i.e. from memory) if that's simulator only or an OS bug? Or point to a rdar?
Edit: Verified that it's not related to Swift, also happens with ObjC.
#maddy: Thanks for fixing the Tags!
Edit: Probably a regression related to this Bug with iOS 7.1: Tab bar background is missing on iOS 7.1 after presenting and dismissing a view controller
Cheers,
Frederik
Many issues that are seen in the simulator are not simulator bugs but rather OS bugs that the simulator is revealing.
In this particular case, I think the issue is that there should be a blur getting applied to that layer behind the tab bar. It may be the case that you have turned on the "Low Quality" option in the "Graphics Quality Override" (Debug menu). Try turning that back to "Default" as that should cause all effects to be applied.
I've read a few other posts on this, and tried the solutions but they don't work. I also tried CMD-1 to show it at full resolution, and still no frame. I also added a frame.png file to the contents->resources folder for iOS Simulator app and still nothing. To be clear, I'm trying to get the iPhone frame around my emulator
I'm building my iOS application with ionic. I'm using iOS Simulator 8.1 and Xcode 6.1.1
Would appreciate any help, giving a presentation tomorrow at school and hoping to have this thing polished. Thanks in advance for helping.
As #timgcarlson said, Apple removed this in Xcode 5 (or around that time). You cannot get this feature any longer. Bummer!
I have developed an iOS app for which I had set the target to iOS 5. But then I wanted to set the target to 4.3, so I changed it in Project>Summary>Deployment Target. The code starts up and works fine in iOS 5. But when I try to run it on a device with iOS 4.3, it just shows the startup image and then a black screen. It doesn't even run the code. Can anyone tell me what might be happening?
Yes, you're right, storyboards are iOS5.0 and later
try this , see the below attached Image :)