Keyboard Extension bug in iOS 10 - ios10

H/W and S/W platform for development
OS X El Capitan
4 GB RAM
XCODE 6.3.2
iOS 8.3
iPhone 5, 5s, 6, 6+ and 6 after update iOS 10.0
iPad 2 with iOS 9.3
We have recently developed an iOS (iPhone) app having custom keyboard with stickers.
Stickers downloads from cloud when keyboard is initialized.
Currently its developed in iOS 8.3 version and runs on iOS all later versions except iOS 10.0 update.
After updating iPhone to iOS 10.0, it has a weired issue i.e.. it shows only bottom footer part of the keyboard and doesn't render the keyboard view that has the stickers.
Not sure whether its an iOS 10.0 bug or some other issue at API deprecation or other.
Can anybody suggest if have any idea or faced the same kind of issue.

Related

iOS 9.1 Simulator problems

I developed an iOS app on Xcode 6.3 with iOS 8.3 .
Now I update Xcode to 7.1 with iOS 9.1 .
My app work perfectly on iPad with iOS 9.1
and all the views work perfectly in iPhone with iOS 9.1 expect one view .
With iphone 4s , 5 the problem is (lldb) with EXC_BAD_ACCESS(Code = 2 ,)
With iphone 5s , 6 , 6 plus , 6s , 6s plus no error message but the simulators hung all the time with max cpu and ram usage.
note : the implementation of view that causes the problem the same with iPad but in iPad work perfectly .
Please what the true analysis for the problem ?
There is a bug in Xcode 7.1 with UITextView , this is stupid bug.
You don't need to ensure that the UITextView holds at least 10 characters. Just adding a default of at least 10 characters to the UITextView in Interface Builder will fix the problem. Then, you can empty the UITextView using code.
this issue comes sometimes if u migrate from xcode 6 to xcode 7.. clean the code and check if the base sdk is proper.
sometimes this issue also comes in simulator. try running the app in real device.
Also, see if xcode 6 and 7 are not running simultaneously. run only one at a time.
Hope this helps u

UICollectionView Error in converting ios 6 to ios 7

Here I have developed the app in IOS6, when I open the App in IOS 7 with Xcode 5 In Collectionview errors are throwing
file://localhost/Users/asaraa/Documents/IOS/Projects/Asaraa/Embassy/UI-Changed/Washington/IOS7/20130918/Mphasis/RootviewController.xib:
error: Class Unavailable: UICollectionView on iOS versions prior to 6.0
How can i resolve this error, Could any body help me please
It looks to me from this description of your error:
UICollectionView on iOS versions prior to 6.0
That you're trying to build an app that has the deployment target (the oldest OS version) set to something older than iOS 6. UICollectionView only works on devices running iOS 6 & newer OS'es. Do you have your project settings set to run this app with iOS 5 or 4?
And if you change it to iOS 6, do you get better results?
UICollectionView didn't exist before iOS 6. You could try the open source PSTCollectionView , which supports iOS 5 and aims to be a drop-in replacement.

iPhone 6.1 Simulator

I am just starting to learn programming for the iPhone and I had a very general question.
I was wondering why is it that when I run my program in xcode, even though I am programming for iPhone 5, when I run the "iPhone 6.1 Simulator" instead of a iPhone 5 Simulator and iPhone 4 pops up?
I am on Mac OS X - 10.7.5
And Xcode version 4.6
Could it be because the apple id I used to download xcode with only has an iPhone 4 and not a 5?
Thanks for the help.
To change your simulator device to other screen resolutions go to Simulator - Device - Retina 4 inch (for iPhone 5) and Retina 3.5 inch for iPhone 4/4S. Use iPhone for iPhone 3GS resolution.
In the Window menu you can change the scale to fit your Mac's screen resolution. (I use 75% for iPhone Retina 3.5 inch).
I also suggest you download iOS 5.1 Simulator if you want to deploy apps for iOS 5.1 and up - it comes really handy and it actually does have some differences from iOS 6.
Choosing "iPhone 6.1 Simulator" is telling Xcode that you want to use the currently selected iPhone simulator with iOS 6.1.
To select the specific iPhone simulator you need to click on the Hardware then Device menu in the simulator.
Your Apple Id and your registered devices have nothing to do with this.

Wont rotate with new xCode

I've got a problem with the latest version of xCode. Whenever i create a new Single view application and I deploy this to my iPhone 3GS, it won't rotate the app (to landscape). When I deploy the exact same version to my iPhone 4, it does rotate the app (to landscape). I've tried installing other apps on the 3GS, and those apps rotate just fine. Also older apps that we've developed are rotating just fine on the 3GS.
I just select create new project in xCode and directly deploy it to the test phones (without any code modifications, just changed the iOS deployment target to 5.0 and the Deployment target too (to 5.0)).
The iPhone 3GS runs version 5.1.1, the iPhone 4 runs on 6.0.1. My xCode version is 4.5
Has anybody experienced this problem before, and knows how to fix it?
Do you mean that you changed the Base SDK to iOS 6.0? I've had the same issue when I did just that. In iOS 6, auto rotation has changed and method shouldAutorotateToInterfaceOrientation is deprecated. See this post for details about this change: shouldAutorotateToInterfaceOrientation not being called in iOS 6

Is it possible to build an app for iPhone 5 screen size with the former SDK (iOS5)?

The latest SDK (Xcode 4.5) doesn't support armv6 and I need to support it right now, so I don't want to upgrade Xcode. Can I support iPhone 5 screen size and make an app in non letterbox mode on iPhone 5 from the previous Xcode (4.3.2)?
[edit] Comment by Brad Larson, change it all : Apple is now explicitly rejecting applications submitted with the iOS 5.x SDK and iPhone 5 default images, saying "Your app contains a launch image with a size modifier that is only supported for apps built with the iOS 6.0 SDK or later."
You can build an app that is compatible with iPhone 5 screen size by adding the 640x1136 Default-568h#2x.png in your resources (if the splash screen defined in your Info.plist is Default.png).
Xcode below 4.5 will let you test on iOS6 devices which is a new for Apple as when iOS5 arrived, all previous version of Xcode where not compatible with iOS5 (impossible to test on iOS5 devices).
So, YES you can develop for iOS6 and iPhone5 screen size from Xcode 4.4 or 4.3.