i have an app that i acquired (did not write myself). I am VERY new to IOS and xCode programming, but have been able to slug my way through a lot of the issues in the past 15 months.
Moving the app onto an IOS 8 platform has me totally stumped. My dialog boxes are the wrong size, Facebook login is sideways, twitter login is sideways, etc.
I think it is all related to the change Apple made with orientation, but i have no way to verify it or to figure out how to fix it in my code.
I know this is a stretch, but does anyone have a simple recipe to get IOS 8 to function like IOS 7 in regards to orientation of dialog boxes, etc?
Your best bet might be converting all pages to auto layout. It will allow all the controls to adapt to current size (and orientation) of the device. There were some improvements in iOS 8 that are worth learning.
Related
I have an app being developed in React Native and on compilation, it looks good in iPhone 7 but gets jumbled in iPhone X. I understand there has been size and resolution changes from iPhone 7 to iPhone X and read about something called, safe area. Tried to fix using those but not sure how to approach this issue. I am not an app developer so..
This is a problem when autoscaling is on by default which is the case with React Native based apps. You either can turn it off to turn off the accessibility entirely or work with app layout to make sure it can handle bigger fonts when the fonts are made bigger through phone settings for people with eye issues.
I am surprised how I was unable to find anything on this matter clearly addressing the How-To's rather than what to expect from Apple in the new iOS.
I am developing an application from scratch now and whenever I use the simulator of iphone 6 and iphone 6 plus in the xcode IDE, i get things misplaced in the screen such as shown in attached screenshots.
How can I build an app that would work on all iPhones the same way (autoscale or auto-resize)? If this has been answered before, please lead me to that topic/thread since I wasn't able to find anything decent and clear explaining this.
It's all about autolayouts.
Here is good article for You: http://mobileoop.com/how-to-use-auto-layout-in-xcode-6-for-ios-7-and-8-development
Or the official Apple: Auto Layout Guide
Our iOS application was written in 2009 when there was no story board.
All the positioning has been done by hard coding in the application.
This was done for 3.5 inch screen. Though it didn't look good but worked in iPhone5 also which is 4 inch and better resolution.
The application has a lot of business logic so I do not find a easy way to upgrade it to story board. I want to upgrade the application so that it works fine in all the iPhone screen sizes without any problem. I want to remove hard coded absolute value values with relative values, so that it can support iPhone 6 also without much modifications, when it arrives.
How should I upgrade the application? How to replace absolute values by relative?
Note: I am not concerned about supporting my app for iPad.
I'm using AVFoundation to set up and display a custom camera interface. I've used a lot of code from Apple's AVCam sample code project. It works mostly but every now and then the camera display 'tears', with parts of the screen displaying a bright purple.
I have no idea why this could be happening. It seems to be completely random (usually happens when I move the camera around though). Has anyone else experienced this?
This is a common issue for iPhone 5 and iOS 7. I have experienced it quite a few times (on multiple iPhone 5 models) even with native Camera.app.
When asking questions that might relate to HW issues you'd better state your device and OS version because it can help us help you.
Try running your code on another device and if that helps I'd suggest you visit nearest Apple Store to claim this problem.
I'm really newbie in iOS development and I have an app that was developed with Xcode 4.6 and was running in iOS 6.1 (https://itunes.apple.com/br/app/unipay/id670441051?mt=8), but after I download the new Xcode (few hours ago) and try to run in my iPhone, what happened is that the layout was completely broken, because the new iOS changed automatically the old buttons to the new iOS buttons:
[Take a look in "Login" and "Cancelar" (cancel) buttons bellow]
https://devforums.apple.com/servlet/JiveServlet/showImage/28931/foto.png
Other thing that happened is taht the phrase in top of this app was white, but now is black.
So, the question is: how to back the layout to the old layout, without the brand new of iOS 7? I need to do this now because I have some important issues that I need to fix and send to Apple Store before change the layout of my app (that my team already is developing a brand new design for that).
Thank you!
Build your app. against sdk 6.1. App. will keep working for iOS 7. and you still can publish this version to the apple store.
Your only option is to restyle the buttons to look like how they used to - if that is truly what you want the app to look like. The more logical solution is to redesign your app for the new iOS 7 look and feel just as Apple have done and other developers are doing.