ios8.3

Can't use keyboard extension in Spotlight after 8.3

女生的网名这么多〃 提交于 2019-12-21 02:45:21
问题 Since I updated my keyboard extension project to Swift 1.2 and my devices to iOS 8.3, I am no longer able to use my extension in Spotlight search. My extension is not in the list if I press and hold the "globe" key, and if it's the active keyboard when entering Spotlight the system keyboard is used instead. Other 3'rd party keyboards seems to work in Spotlight - and my own keyboard works in any other app I've tried it in (Notes, Mailbox, Safari etc). It used to work in Spotlight in all iOS 8

How to get iOS 8.3 emoji keyboard height?

此生再无相见时 提交于 2019-12-20 09:58:05
问题 I can handle two events: when keyboard shows and when keyboard hides. Everything worked fine in iOS 8.2 and older. But how to handle event when you change your keyboard language? When you change the english keyboard to the emoji keyboard, the height of emoji keyboard (in ios 8.3) is bigger and it hides the content. Or maybe you have a solution how to control iOS 8.3 emoji keyboard height? 回答1: OK. So looking at my old code, I remembered, I do not use 2 observers (

Signal strength in ios 8.3

≯℡__Kan透↙ 提交于 2019-12-11 11:48:24
问题 Apple has restricted API to fetch signal strength but there is a way to get this i found here.Is it a correct way to get signal strength. I am developing for iTunes store submission. Will apple reject my app? Solution provided by @Mateusz Mirkowski as follow : UIApplication *app = [UIApplication sharedApplication]; NSArray *subviews = [[[app valueForKey:@"statusBar"] valueForKey:@"foregroundView"] subviews]; NSString *dataNetworkItemView = nil; for (id subview in subviews) { if([subview

Can not Identify the crash Exception Type: EXC_CRASH (SIGABRT) . Crash log included

。_饼干妹妹 提交于 2019-12-11 09:58:14
问题 I can not identify the problem from this crash log. I have seen several post about EXC_CRASH (SIGABRT) and CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER but those didn't help either.This happens in OS Version:iOS 8.3 (12F69) and in iPad2. Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Triggered by Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x182b482d8 __exceptionPreprocess + 132 1 libobjc.A.dylib 0x1941080e4 objc_exception_throw + 60

Understanding handleWatchKitExtensionRequest

Deadly 提交于 2019-12-11 03:35:18
问题 I am testing the execution of some code on the iPhone app. I follow the documentation that Apple suggests (without using background tasks, just a console log ). However I do not get anything on the console (I'd like to see the string "howdy"). Is this because I am running the WatchKit Extension app on the simulator ? Or is there something that I am missing? Apple says: If you are using openParentApplication:reply:, make sure you create a background task immediately upon entering application

iOS 8.3 breaks automatic cell height

百般思念 提交于 2019-12-10 18:56:47
问题 Long time reader, first time poster. I use automatic cell height with auto layout in my app. In iOS 8.3 and 8.4, this appears to be broken. I have a sample project. When built in 8.2 or lower, it works properly. The cell heights are determined by Autolayout. When built in 8.3 or 8.4 it doesn't work. I have searched online and I don't see anyone posting about this issue. Take a look at the screenshots below. Any help is appreciated. Cell Height Project ZIP Screenshot comparison http://jeffburg

iOS Keyboard notifications triggered unnecessarily upon showing the alertviews on iOS8.3

孤街醉人 提交于 2019-12-10 14:14:07
问题 We are observing unusual behaviour with respect to Keyboard willshow & will hide notification on iOS 8.3. The viewcontroler (listenig to keyboard notifications) has a textfiled and upon clicking and upon tapping the submit button, the method first resigns the first responder from textfield, and shows an alert to inform warning. Everything works fine, it dismisses the keyboard and shows up the alert as expected. (calls the UIKeyboardWillHideNotification method too). However, on 8.3, after

ios 8.2 and above settings bundle is not showing selected item but Default

爱⌒轻易说出口 提交于 2019-12-10 12:30:03
问题 I am facing a issue with App settings, i am using settings bundle to select the environment, but once selected and going back to app settings its showing again the default one as selected. This is observed only from ios 8.2 and above(Device and simulator). My settings bundle plist looks like below. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>PreferenceSpecifiers<

Swift NSBundle pathForResource() returns nil

谁都会走 提交于 2019-12-10 11:56:43
问题 I have images in my project (which is only supported on iPhones, no iPads). The images are under a group and not under images.xcassets . I want to use the same image for all iPhones, except the @3x for the 6 Plus, so I have a structure as follows: Project |_ Images_Group | |_ pic01@2x.png |_ pic01@3x.png I am using this code to use it in my app: if let path = NSBundle.mainBundle().pathForResource("pic01", ofType: "png") { image = UIImage(contentsOfFile: path) } But path always returns nil. Do

Keyboard will appeared automatically in ios 8.3 while displaying alertview or alertcontroller

梦想与她 提交于 2019-12-09 09:37:13
问题 I have updated Xcode 6.3 and ios8.3 check my code. then it gives me weird result. here is first screen of my demo app. here is one textfield. when I type somethin in textfield keyboard open. after typing completed. I have clicked on show alert button. I have displayed alert and output will be following. After click on cancel. I have displayed another alert then weird result keyboard should not open but when click on cancel button. display another alert and keyboard will appear automatically.