ios7

iOS 7 Status Bar Disappears After Playing a Video

为君一笑 提交于 2019-12-23 07:38:41
问题 I'm not the only one who's having this kind of issue. Here's another one, Status bar height changes after playing a Youtube video. But I can't still find a way to solve this. I'm not using MPMoviePlayerController. I think I just have to use these codes; [[UIApplication sharedApplication] setStatusBarHidden:NO withAnimation:NO]; self.webView.frame = CGRectMake(0.0, 20.0, self.webView.frame.size.width, self.webView.frame.size.height); But it's not so working. Please see this images below.. At

weird UITabBar color inconsistency in iOS7

亡梦爱人 提交于 2019-12-23 06:52:21
问题 I'm using iOS 7's tintColor and barTintColor properties to color my UITabBar with this code in a subclass of UITabBarController: [[UITabBar appearance] setBarTintColor:[UIColor colorWithRed:123/255.0 green:47/255.0 blue:85/255.0 alpha:1]]; [[UITabBar appearance] setTintColor:[UIColor colorWithRed:227/255.0 green:180/255.0 blue:204/255.0 alpha:1]]; On three screens, the color is what I want it to be (only two images illustrating this): One one screen, the color is weirdly lighter. This screen

UIImagePickerController with allowsEditing doesn't allow panning to crop

拈花ヽ惹草 提交于 2019-12-23 06:48:45
问题 I saw this question here: UIImagePicker allowsEditing stuck in center It seems someone had this problem before, but there's no clear resolution. Reproduction steps: Set allowsEditing = YES Take a picture Crop window comes up, but everytime I pan the image, it just snaps back to the center. I'm on iOS 7.0.3. Here's my code: UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init]; imagePicker.delegate = self; imagePicker.modalPresentationStyle =

How to change color of UISegmentedControl border in iOS7?

核能气质少年 提交于 2019-12-23 06:47:15
问题 How do I change the border color of the segmented controller in iOS7 without changing the text color? It would be ideal if I could keep the line between the segments as is (i.e. same color as the text), but if a border color change implies a change of this line it would also be ok. Note also that the text (and the lines between segments) have the color which is set with [segmCtrl setTintColor:choosenTintColor] 回答1: The linked answer does indeed answer your question, but you have to read

Navigation bar and Status bar issue in iOS 7

柔情痞子 提交于 2019-12-23 05:41:42
问题 I have created an application using XIB without Status Bar before for iOS7 , now i need to add Status bar on my app and Status bar background color should same as Navigation bar background color. So i have tried like (In my info.plist ) : 1) Set View controller-based status bar appearance to NO 2) Set Status bar style to UIStatusBarStyleLightContent here is my code for App Delegate : [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent]; [[UIApplication

UIImagePickerController not showing (taking more time to load) camera preview in ios7

做~自己de王妃 提交于 2019-12-23 05:33:15
问题 I am using GCD in my app to fetch lot of images and data in the background queue and when I present uiimagepickercontroller it takes more time to show the camera preview. After googling around, I found that many have faced this issue with iOS 7 and here is one more post that made some sense to me. (iOS 7 UIImagePickerController Camera No Image). The solution was to stop the background threads and then present the picker controller. But I am really stumped and don't know how to stop or pause

Is it possible to use old styled controls for iOS on xCode 5.0?

你说的曾经没有我的故事 提交于 2019-12-23 05:29:06
问题 The new look of iOS 7 is too different from previous versions. Is it possible to use old styled controls on iOS 7 on xCode 5.0? 回答1: It's based on the SDK you're building against, so if you build against the iOS 6.X SDK instead of the iOS 7 SDK it should use the iOS 6.X look and feel. There's some information on how to do that here: Is it possible to install iOS 6 SDK on Xcode 5? It's non-trivial though, and means you can't use any of the features introduced in the iOS 7 SDK. As long as you

UILabel in UITable do not get display but get display on click in IOS 7 (due to issue with background colour)

风流意气都作罢 提交于 2019-12-23 05:26:07
问题 Referring Image number 1: In ios 6 and 5, the label get display properly in UItable. Referring Image number 2: In IOS 7, the label do not get display in UItable. Referring Image number 3: In iOS 7, the label get display on click of cell in UItable. Below is the code used to write cell in UItable. -(UILabel *)createLabel:(UILabel *)sender1 :(int)x :(int)y :(NSString *)title :(int)size :(int)swidth :(int)ht { sender1 = [[UILabel alloc] initWithFrame:CGRectMake(x, y, swidth, ht)]; sender1.text =

Application is crashing while poping view controller

你离开我真会死。 提交于 2019-12-23 04:12:19
问题 Your images have probably been run through Apple's "pngcrush" program and therefore are not valid PNG files any more. I'm told that Apple's "pngcrush" has a way of reverting the damage and recreating a valid PNG from the crushed file, perhaps with some loss of data. If you can look at the beginning of the file and the bytes "CgBI" appear starting at byte 12 instead of "IHDR", that will confirm that the file has indeed been apple-pngcrushed. 回答1: Ah! @vivek, instead of this line: [self

Application is crashing while poping view controller

ぐ巨炮叔叔 提交于 2019-12-23 04:12:05
问题 Your images have probably been run through Apple's "pngcrush" program and therefore are not valid PNG files any more. I'm told that Apple's "pngcrush" has a way of reverting the damage and recreating a valid PNG from the crushed file, perhaps with some loss of data. If you can look at the beginning of the file and the bytes "CgBI" appear starting at byte 12 instead of "IHDR", that will confirm that the file has indeed been apple-pngcrushed. 回答1: Ah! @vivek, instead of this line: [self