ios8

Dealing with iPhone 6/6+ startup images

早过忘川 提交于 2019-12-06 05:11:14
问题 I used to simply work with two screen sizes, but now after the new iPhone 6/6+ are announced I need to deal with four screen sizes, So How could I specify the startup images for these new devices ?? Thanks in advance Update In .xcassests file I found new settings added in Xcode 6 GM which is ( Retina HD 5.5 ) and ( Retina HD 4.7 ), I guess it's easy to find which one is for iPhone 6 and which for iPhone 6+ but what's the name for these startup images by default ?? because I don't usually work

iOS 8 data sharing between users

╄→尐↘猪︶ㄣ 提交于 2019-12-06 05:01:48
I'm new to iOS. I need to create a small app that allows registered users to share particular data between them and I'm looking for the best solution. I know I could create a server, which handle user authentication, pushing notifications and sharing data between them, but maybe there is a simpler and better way. I saw iOS 8 introduced CloudKit, but I haven't a chance to test it. Do you think it could meet my expectations? Thanks for help. You could take a look into Parse or other same services. CloudKit on the other hand also has capabilities that you are looking for. But this would not be

iOS 8 UITableView rotation bug

梦想的初衷 提交于 2019-12-06 04:54:16
So after compiling an app on XCode 6, I noticed a strange bug that happens only when running on iOS 8: The UITableView takes the wrong inner dimensions after updating its frame. Now I'll try to explain the exact situation: We have a UITableView rotated on its side, which basically makes a horizontal UITableView . It happens through tableView.transform = CGAffineTransformMakeRotation(-M_PI / 2); . Now after setting the transform, and then settings its frame - everything is fine. But of course the system in most cases sends the parent another frame change because it needs to set the parent to

ASIHTTPRequest crashes the app on ios8

自古美人都是妖i 提交于 2019-12-06 04:43:58
Here I am using JSON to parse the data with ASIHTTPRequest The same code is working fine for my lower version of iOS. (iOs7 & below) But I am not able to run this on my iOS-8 device. The log is getting well, but the app crashes, may be getting late reply from server. It should not crash for late reply. Does any new modification required for iOS-8 for ASIHTTPRequest ? Same code for lower version working well. If I tried to check with debugger ON with each method, I found my code is crashing right here: -(void)startSynchronous { #if DEBUG_REQUEST_STATUS || DEBUG_THROTTLING ASI_DEBUG_LOG(@"

dyld error when trying to run an iOS 8 app on iPhone 5

☆樱花仙子☆ 提交于 2019-12-06 04:39:37
Trying to run an app locally on a connected iPhone 5 with Xcode 6.0.1 (6A317). The app otherwise works on all other devices, but on the iPhone 5 I'm getting this error immediately after the app launches: dyld: could not load inserted library '/Developer/usr/lib/libBacktraceRecording.dylib' because image not found I found this relevant Twitter post: https://twitter.com/steipete/status/473620531111919616 , and have tried most of the suggestions there including: rebooted the Mac & the iPhone 5 updated iOS to 8.0.2 from 8.0.0 created a new scheme to run the Release configuration as opposed to

TableView in UIPopOverView Issue

拜拜、爱过 提交于 2019-12-06 04:32:35
问题 I have a issue in UIPopover, I have added UITableView in UIPopover When I am running its running good in iOS7.* as below: But while I am running in iOS8, it display as below: My code is as below CustomPopOverViewController *viewControllerForPopover = [self.storyboard instantiateViewControllerWithIdentifier:@"CustomPopOverVC"]; viewControllerForPopover.delegate = self; int setTimeFlag = [[[selectedModuleProgram objectAtIndex:[sender tag]] valueForKey:kProgram_Mst_Program_Time_Flag] intValue];

Iphone Simulator Xcode 6 on IOS 8 visualize two black bars

这一生的挚爱 提交于 2019-12-06 04:28:09
问题 I have tried new app in Xcode 6 and not use storyboard. But when I have ran the app, with Iphone 5,5s,6 and 6 plus, in Iphone Simulator visualize two black bars on the top and below. Only Iphone 4s there aren't black bars. Do you have an idea to resolve my problem? Thanks 回答1: You need to add a Default-568h@2x.png image file that is 640x1136 to your project. I added an all black one that was in an older project. I didn't have to set anything else, which was nice. If you are building for iOS8

How to retrieve photo extension (jpg/png) in iOS 8.0 using Photos API?

百般思念 提交于 2019-12-06 04:27:56
问题 Am trying to get file extension of photos using the new Photos API in iOS 8 but haven't found a way to do so until now. Before iOS 8.0 I would use ALAssetRepresentation to get the file extension like: // Get asset representation from asset ALAssetRepresentation *assetRepresentation = [asset defaultRepresentation]; // Extract file extension from the original file name NSString* fileExt = [[assetRepresentation filename] pathExtension]; Is there any way to get file extension of photos now? PS: I

confused about different procedures for creating a fat static library in Xcode 6

Deadly 提交于 2019-12-06 04:26:05
I'm a little confused about information I am finding about how to create a universal framework using the latest Xcode 6 and iOS 8 environment. For instance, this answer includes the following: If you need to create universal static library that runs on both simulator and devices, then general steps are: 1. Build library for simulator 2. Build library for device 3. Combine them using lipo lipo -create -output "framework-test-01-universal" "Debug-iphonesimulator/framework-test-01.framework/framework-test-01" "Debug-iphoneos/framework-test-01.framework/framework-test-01" Note that framework-test

Using categories in iOS 8 frameworks

只愿长相守 提交于 2019-12-06 04:24:36
I am trying to share some code between an app and an extension, using a framework. Mostly this works, but I have several categories that do not seem to load correctly in the extension. For example, I have a category on NSString to reverse the target string, but when I try to use that selector within the extension my code traps with an "unrecognized selector" exception. I tried adding the "-all_load" linker flag, first to just the framework, and then to the extension, to try and force load all the classes implemented in the framework, but this does not seem to work. Any suggestions would be