ios9

Exclude iPhone 4S devices from downloading app

和自甴很熟 提交于 2019-12-02 00:11:14
I will be releasing an app soon, but I specifically want to support iPhone 5 or later. Is there a way of excluding iPhone 4s devices? My app deployment target is iOS9, and iPhone 4S is the oldest device that can have iOS9, but because of screen size constraints I would prefer not to support those devices. No, if you are going to support iPhone you need to support all the iPhones that support the version of the operating system. Apple will reject it for not supporting the 4S. It is a pain, and I have been rejected for it. If your app requires the Metal API, and that requirement is included in

Linking error when building Parse in Xcode 7

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-01 23:59:46
问题 I am trying to add the Parse.com SDK to my Xcode 7 project. I have followed the getting started guide and I have managed to do it before in Xcode 6. However this time I am being shown this error message when I try to build: ld: framework not found Bolts clang: error: linker command failed with exit code 1 (use -v to see invocation) Thanks 回答1: I suggest you integrate Parse using CocoaPods. Cocoapods manages the library dependencies in a much better way. The following is a sample PodFile:

UITableView line seperator visible for alternative cells in iOS 9

不羁岁月 提交于 2019-12-01 23:57:03
I am facing issue for UITableView line separator. Line is visible for alternative rows. Adding UIView with height 1 to the cell will give the solution but this is not the correct way. And the below code is working perfect for iOS 8 but in 9 it's showing different nature. - (IBAction)curencySelect:(id)sender { currencyTable = [[UITableView alloc]initWithFrame:CGRectMake(29, 257, 265,113) style: UITableViewStylePlain]; } #pragma mark - #pragma mark UITableViewDelegate - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView { return 1; } - (NSInteger)tableView:(UITableView *)table

Using AutoLayout programmatically for search bar and UITableView

試著忘記壹切 提交于 2019-12-01 23:20:19
问题 I have a container view that is nearly the full screen sans the status bar. I then created a UISearchController and a UITableView. I am using ios 9 and doing things programmatically. The bug I am having is when the search bar is touched, the scope options open beneath it but the tableview doesn't slide down correctly. How do I fix this? The code in my viewDidLoad is: // Search controller self.searchController = [[UISearchController alloc] initWithSearchResultsController:nil]; self

applinks in iOS 9 not working

故事扮演 提交于 2019-12-01 23:09:40
问题 I don't get applinks: in iOS not working, whenever I open a link like https://www.example.com/something on my iOS 9 device, it gets opened in Safari. I'm running the app via debug provisioning profile, on my server there is a file called apple-app-site-association . There are two different formats I found: { "applinks": { "apps": [], "details": { "AB1CDEFGHI.com.mydomain.myapp": { "paths": ["*"] } } } } as well as { "applinks": { "apps": [], "details": [ { "appID": "AB1CDEFGHI.com.mydomain

Implement app thinning in iphone application

折月煮酒 提交于 2019-12-01 23:04:05
My iOS application's size is quite bigger on app store. How can I lower achieve the app thinning so that application size get lower. Note :- I am already using Images.xcassets to put x/2x/3x images separately. I also read this apple documentation and take care of optimisation level build settings. I am also using an 8-bit PNG instead of a 32-bit PNG. App slicing is currently not working until further notice. The only way to reduce your app size is currently to reduce the amount of assets included in the .ipa. You could try using On Demand Resources if they make sense for your app. Searching

App stuck in splash screen on iOS 9 with no error

折月煮酒 提交于 2019-12-01 22:48:40
My app gets stuck on splash screen in iOS 9 both on iPhone and simulator. I can run it on iOS 8 or lower on device and simulator with no problem. My colleague working on the same app has exactly the same problem. There is no error or anything, just hangs on splash screen. If I stop it on xcode and try to run it from the phone or simulator directly, it would run without any problem. By the way, I don't see didFinishLaunchingWithOptions or willFinishLaunchingWithOptions getting called! In your "answer" you include the code: +(void)initialize { titles = @[NSLocalizedString(@"CODE", nil),

Using AutoLayout programmatically for search bar and UITableView

巧了我就是萌 提交于 2019-12-01 22:34:04
I have a container view that is nearly the full screen sans the status bar. I then created a UISearchController and a UITableView. I am using ios 9 and doing things programmatically. The bug I am having is when the search bar is touched, the scope options open beneath it but the tableview doesn't slide down correctly. How do I fix this? The code in my viewDidLoad is: // Search controller self.searchController = [[UISearchController alloc] initWithSearchResultsController:nil]; self.searchController.searchResultsUpdater = self; self.searchController.dimsBackgroundDuringPresentation = NO; self

applinks in iOS 9 not working

房东的猫 提交于 2019-12-01 21:09:49
I don't get applinks: in iOS not working, whenever I open a link like https://www.example.com/something on my iOS 9 device, it gets opened in Safari. I'm running the app via debug provisioning profile, on my server there is a file called apple-app-site-association . There are two different formats I found: { "applinks": { "apps": [], "details": { "AB1CDEFGHI.com.mydomain.myapp": { "paths": ["*"] } } } } as well as { "applinks": { "apps": [], "details": [ { "appID": "AB1CDEFGHI.com.mydomain.myapp", "paths": [ "*" ] } ] } } so that's the first thing I'm not sure which one to use. The second is

Launch Screen.storyboard not work properly Xcode 7

白昼怎懂夜的黑 提交于 2019-12-01 21:06:22
问题 I am using Launch Screen storyboard in Xcode 7 to support iOS 9, And using imageSet to support iOS 7. First thing I put UIImageView in LaunchView at full screen, and use images below (see image) at source to that imageView , but when I run my app in simulator this image do not show correctly (iPhone 4s, 5, 6, and 6 plus) Where is the problem? Can anyone help please? 回答1: I have faced same issue one time. batter to use xcassets For the launch image you can use the assets folder with the device