ios5.1

Audio is no longer working on iPad3 [closed]

给你一囗甜甜゛ 提交于 2019-12-14 04:08:15
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . I've got two reports from users of my app, running iOS 5.1.1 on iPad 3 (iPad 1 & 2 are working fine), that the audio is no longer working. I'm using the AVAudioPlayer from the AVFoundation library. Is anybody else experiencing any similar problems. What to do now? 回答1: Also give this code for your audioPlayer [

do runloops/multi-threading/timers behave differently on iOS6?

跟風遠走 提交于 2019-12-13 18:21:35
问题 I just installed Xcode 4.5 to start testing some code on iOS6 devices.. I wanted my existing code to be runnable on both iOS 5 and iOS 6 obviously. The same code (below) that used to work on Xcode 4.3 stopped working on Xcode 4.5: -(BOOL)readFromRingBuffer { NSDate *fireDate = [NSDate dateWithTimeIntervalSinceNow:0]; ringBufferReaderTimer = [[NSTimer alloc] initWithFireDate:fireDate interval:0.25 target:self selector:@selector(readRingBufferDataBit) userInfo:NULL repeats:YES]; NSRunLoop

Charts not getting plotted on iOS 5

人走茶凉 提交于 2019-12-13 04:44:17
问题 I am using Core Plot to draw charts in my iOS application. The charts were getting plotted nicely till I was using core plot version 1.0. I just upgraded my core plot to version 1.2 and tested it on iOS 6 and all was looking OK there. But when I ran the same code on iOS 5.0 and 5.1, my bar charts got vanished and it is now showing me just a blank screen with two axes plotted. Bellow is the screenshot for the same The problem occurs only for bar graph and scatter plot whereas pie charts are

core text view memory leak

丶灬走出姿态 提交于 2019-12-13 04:23:34
问题 I have created a core text view and visually it's working great but i run it for 30 minutes with a lot of data coming in and it crashes. The debugger starts saying 'received memory warning'. I think the views i'm drawing that refresh on every new line that comes in from telnet, are not leaving memory on a redraw completely. code below. The first part of this code might be an issue. I found on a redraw i had to clear the old views or it over layed or drew on top and text got garbled. But it

iOS - Building VLC for iOS - Please install required SDK, or set SDKROOT manually

倾然丶 夕夏残阳落幕 提交于 2019-12-12 14:07:32
问题 I have upgraded my xcode to 4.5, now I am Building VLC for iOS and countered that SDK version 5.1 not found. I have fully installed all the sdk's in my xcode 4.5 Mac-Muhammad-Umair-Mirza:vlc muhammad.umair$ ./extras/package/ios/build.sh [info] Building libvlc for the iOS [info] Using armv7 with SDK version 5.1 usage: dirname path SDKROOT not specified, assuming /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk *** /Volumes/Xcode/Xcode.app

Error in Pushing a TableViewCell to Another ViewController

杀马特。学长 韩版系。学妹 提交于 2019-12-12 05:29:24
问题 I trying to pass the data from TableViewCell to the another ViewController.But No data Displaying in the another ViewController.here is my Code -(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{ PeripheralManager *objSelected=[device objectAtIndex:indexPath.row]; [self prepareForSegue:@"TableDetails" sender:objSelectedDevice]; } -(void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { if ([segue.identifier isEqualToString:@"TableDetails"])

How to execute a specific function only in DEBUG and AdHoc modes

筅森魡賤 提交于 2019-12-12 04:13:56
问题 What i would like to do is a simple button with an action method, This button is initialized, created, assigned to its action method and shown ONLY in Debug and AdHoc modes. So as a developer or tester, i can see the button, but in the release, the client won't be able to see that button. What i did so far is the following: -In my project-->Build Settings Tab, i set the Debug values to 1 in both Debug and Adhoc, like this: -Then i opened up the prefix.pch file, and there, i am blocked and i

Songs imported from ipod Library not working for iOS 5.1 but Works fine for 5.0 and later OS

喜欢而已 提交于 2019-12-12 03:16:41
问题 i have implemented code like here but it's not working for iOS 5.0, it will not storing file to document directory like other later OS. 回答1: Finally i got answer from here really it's nice solution given by Albert. 来源: https://stackoverflow.com/questions/9802288/songs-imported-from-ipod-library-not-working-for-ios-5-1-but-works-fine-for-5-0

ios app hits straight shouldstartloadwithrequest after coming from background instead

心已入冬 提交于 2019-12-12 01:32:38
问题 I have a webview in my mainviewcontroller and i am laoding a webpage in viewdidload method as below: - (void)viewDidLoad { [super viewDidLoad]; NSURLRequest *requestObj = [NSURLRequest requestWithURL:url]; [_loginWebView loadRequest:requestObj]; } and in the shouldstartloadwithrequest method, i check if the url contains "itunes" and i have the following code for it: - (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType

UITableView of iOS SDK 6.1 don't compatible with iOS SDK 5.1

旧巷老猫 提交于 2019-12-11 09:22:32
问题 I have created UITableView project in XCode 4.6 with iOS 6.1 SDK, and set target sdk to 5.1, when the app calling dequeueReusableCellWithIdentifier in cellForRowAtIndexPath function, the app throw a exception, the simulator is 5.1, on simulator 6.x is ok. 1: [UITableView dequeueReusableCellWithIdentifier:forIndexPath:]: unrecognized selector sent to instance 2:Terminating app due to uncaught exception NSInvalidArgumentException , reason: -[UITableView dequeueReusableCellWithIdentifier