ios7.1

How to link with framework without arm64 support in Xcode 5.1?

有些话、适合烂在心里 提交于 2019-11-27 18:43:00
问题 After upgraded a project on Xcode 5.1, Product > Build gives the following warning and error: ld: warning: ignoring file Dropbox/Dropbox.framework/Dropbox, missing required architecture arm64 in file Dropbox.framework/Dropbox (3 slices) Undefined symbols for architecture arm64: "_OBJC_CLASS_$_DBPath", referenced from: objc-class-ref in DropboxViewController.o It seems like the Dropbox.framework does not support arm64 yet. What are the Xcode settings to remove arm64 support from the project to

iOS 7.1 UITextView still not scrolling to cursor/caret after new line

坚强是说给别人听的谎言 提交于 2019-11-27 18:33:38
Since iOS 7, a UITextView does not scroll automatically to the cursor as the user types text that flows to a new line. This issue is well documented on SO and elsewhere. For me, the issue is still present in iOS 7.1. What am I doing wrong? I installed Xcode 5.1 and targeted iOS 7.1. I'm using Auto Layout. Here's how I position the text view's content above the keyboard: - (void)keyboardUp:(NSNotification *)notification { NSDictionary *info = [notification userInfo]; CGRect keyboardRect = [[info objectForKey:UIKeyboardFrameEndUserInfoKey] CGRectValue]; keyboardRect = [self.view convertRect

Assertion failure in -[UITableView layoutSublayersOfLayer:]

谁说我不能喝 提交于 2019-11-27 14:59:19
问题 I want to use an UISearchDisplayController on UIViewController , that includes an UITableView . I use Autolayout. When i try to put the SearchBar (_searchBar) in the tableHeaderView with self.tableView.tableHeaderView = _searchBar; I get the error ' NSInternalInconsistencyException ', reason: 'Auto Layout still required after executing -layoutSubviews. UITableView's implementation of -layoutSubviews needs to call super.' Disabling Autolayout, the error disappears, but i need Autolayout... The

Error when distributing an IPA over the air with dropbox - iOS 7.1

不羁的心 提交于 2019-11-27 13:56:27
问题 As Apple requested to use https instead of http for distributing the IPAs over the air, I tried to use dropbox. I followed this solution Enterprise app deployment doesn't work on iOS 7.1 but I'm getting this error: "Cannot connect to dl.dropboxusercontent.com" when trying to install the plist through this link: <a href="itms-services://?action=download-manifest&url=https://dl.dropboxusercontent.com/s/56ny312cwdacho7/xxxxx.plist> Install </a> Thanks in advance. 回答1: I had exactly the same

iOS 7.1 UITapGesture not working with UIPickerView

廉价感情. 提交于 2019-11-27 13:27:53
We are using a UIPickerView to allow a user to select from a list of options. We are adding UIPickerView as a subview of a container UIView. We are then adding a UITapGestureRecognizer to the container UIView . The UITapGestureRecognizer is being used to dismiss the picker via removing it's super view. In iOS 7.0 and previous versions, this was working as expected. However, in iOS 7.1 this set up is no longer working in the sense that UITapGestureRecognizer is not recognizing the tap and calling the selector specified in the action (dismissing the picker view and container view). code is below

How is iBeacon support REALLY changed in iOS 7.1?

寵の児 提交于 2019-11-27 13:07:50
问题 I've seen claims on the net that the newly released iOS 7.1's iBeacon support. Specifically: The system is supposed to still notify your app about didEnterRegion/didExitRegion events, even if the user explicitly kills your app. didEnterRegion/didExitRegion notifications are supposed to be faster from the background and/or with the device locked. I have not been able to confirm either of these claims with my own testing. In fact, I seem to be less likely to get didEnterRegion/didExitRegion

Error “Cast from pointer to smaller type 'int' loses information” in EAGLView.mm when update Xcode to 5.1 (5B130a)

放肆的年华 提交于 2019-11-27 12:29:16
问题 Yesterday, I updated Xcode to the newest version (5.1 (5B130a)) to compatible with iOS 7.1 . Then I build my project, I get the error "Cast from pointer to smaller type 'int' loses information" in EAGLView.mm file ( line 408 ) when 64-bit simulators (e.g.: iPhone Retina 4-inch 64-bit) is selected. I'm using cocos2d-x-2.2.2 . Before I update Xcode, my project still can build and run normally with all devices. Thanks for all recommendation. Update: Today, i download the latest version of

Black bars appear in app when targeting iOS7.1 or 7.0 in Xcode6

ぐ巨炮叔叔 提交于 2019-11-27 10:27:56
Steps to reproduce: Create a new project using Xcode6 (single view template, iPhone only, Objective-C) Navigate to project settings and change the deployment target from 8.0 to 7.1 Run the application on a iPhone5/S with 7.1 installed or in the iPhone5/s 7.1 simulator (You may have to download the iOS7.1 simulators) The app appears with black bars on the top and the bottom. If you run the application on the iPhone5/S 8.0 simulator, the screen will appear as expected, all white. Why is this happening? Is there a fix or workaround? I was able to resolve the issue manually, seems like it is a bug

iOS 7.1 UISearchBar gray view

依然范特西╮ 提交于 2019-11-27 07:04:54
问题 I work at an application and I tested today on iOS 7.1. Until now my search bar was normal: But now I have this problem: A gray view appears and I don't know how to remove it because I don't have this view in my code. Does anyone have the same problem? It is an iOS 7.1 bug? 回答1: My quick fix used some code I found here: https://stackoverflow.com/a/18664917/1153630 And then: searchBar.backgroundImage = [UIImage imageWithColor:[UIColor clearColor]]; I'm still not very impressed by it though:

Remove underline on UIButton in iOS 7

会有一股神秘感。 提交于 2019-11-27 06:04:40
问题 Any one know how to remove the UIButton underline that appears because of Accessibility? (I know it's because the user turned on "Button Shapes") How can I remove that programmatically, or by setting some property in Xcode? 回答1: Check below code : NSMutableAttributedString *attrStr = [[yourBtnHere attributedTitleForState:UIControlStateNormal] mutableCopy];//or whatever the state you want [attrStr enumerateAttributesInRange:NSMakeRange(0, [attrStr length]) options