ios7

UIStatusBarStyle PreferredStatusBarStyle does not work on iOS 7

烈酒焚心 提交于 2019-12-17 07:01:15
问题 In my iPhone application built with Xcode 5 for iOS 7 I set UIViewControllerBasedStatusBarAppearance=YES in info.plist , and in my ViewController I have this code: -(UIStatusBarStyle) preferredStatusBarStyle { return UIStatusBarStyleLightContent; } But the status bar is still black against the black background. I know its possible to change this app-wide by setting UIViewControllerBasedStatusBarAppearance=NO in info.plist , but I actually need to alter this on a viewController by

Animated gif not working in MKMapView overlay using MKOverlayRenderer

≡放荡痞女 提交于 2019-12-17 06:45:31
问题 I am trying to display an animated gif in an overlay for MKMapView . The overlay is created using the MKOverlayRenderer . To animate the gif in iOS 7, I'm using the UIImage+animatedGIF category posted here on GitHub. The image of the animated gif displays fine in the overlay using the category; however, the gif does not animate. I have no problem using the category to animate a gif in a UIImageView but it does not seem to work correctly in a map view overlay. How can I use this category to

iOS 7 UIImagePickerController has black preview

梦想的初衷 提交于 2019-12-17 06:38:23
问题 I have a UIImagePickerController being called with sourceType camera and 80% of the time I get a black preview. If I wait, let's say around 30 seconds, I get a good preview and it will be good for around 50% of the time, then it can break again. The image in question is very similar to this. iDevice camera shows black instead of preview Other people imply that GCD might be causing some issues with the camera, and that updates to the UI while the image picker is being loaded break it. I put a

Frosted Glass Effect in JavaFX?

无人久伴 提交于 2019-12-17 06:34:23
问题 I'm making an iOS7-themed JavaFX2/FXML project and I was wondering how I could make a Rectangle object have a iOS7-like frosted glass effect. I'd also like it to have a small shadow. This is tricky, since you might be able to see the shadow behind the semi-transparent object. I'd just like it to be present around the edges. Is this possible? Here's a picture showing the desired effect (not including the small drop-shadow): UPDATE: Here's a continuation of the issue. This is going to look

Frosted Glass Effect in JavaFX?

妖精的绣舞 提交于 2019-12-17 06:34:07
问题 I'm making an iOS7-themed JavaFX2/FXML project and I was wondering how I could make a Rectangle object have a iOS7-like frosted glass effect. I'd also like it to have a small shadow. This is tricky, since you might be able to see the shadow behind the semi-transparent object. I'd just like it to be present around the edges. Is this possible? Here's a picture showing the desired effect (not including the small drop-shadow): UPDATE: Here's a continuation of the issue. This is going to look

iOS 7 / Xcode 5: Access device launch images programmatically

情到浓时终转凉″ 提交于 2019-12-17 06:29:14
问题 Is there any way to use the apps LaunchImage as a background in an universal iOS app without putting the same image resources in multiple places? I wasn't able to access the LaunchImage files in Images.xcassets , so I created two new Image Sets "Background Portrait" and "Background Landscape" (since there seems to be no way to put landscape and portrait images into the same set). While this workaround does the jobs, I would hate to include every image into the app twice. This also has a high

IOS7 (only) stdlibc++ linking issue

雨燕双飞 提交于 2019-12-17 05:51:51
问题 I need help. I had a framwork which was using stdc++ like std:string. Now when i have created new app for IOS7 only there is problem with linking this framework because of problems with stdc++ lib: Undefined symbols for architecture armv7 "std::basic_string, std::allocator >::_Rep::_S_empty_rep_storage", referenced from ... I have find out something strange that when i change the Deplyment target to ios6 in this app all is working fine. With ios7 i see errors. I already have flag set in other

How do I set the height of tableHeaderView (UITableView) with autolayout?

可紊 提交于 2019-12-17 05:37:37
问题 I'm been smashing my head against the wall with this for last 3 or 4 hours and I can't seem to figure it out. I have a UIViewController with a full screen UITableView inside of it (there's some other stuff on the screen, which is why I can't use a UITableViewController) and I want to get my tableHeaderView to resize with autolayout. Needless to say, it's not cooperating. See screenshot below. Because the overviewLabel (e.g. the "List overview information here." text) has dynamic content, I'm

How do I set the height of tableHeaderView (UITableView) with autolayout?

佐手、 提交于 2019-12-17 05:37:21
问题 I'm been smashing my head against the wall with this for last 3 or 4 hours and I can't seem to figure it out. I have a UIViewController with a full screen UITableView inside of it (there's some other stuff on the screen, which is why I can't use a UITableViewController) and I want to get my tableHeaderView to resize with autolayout. Needless to say, it's not cooperating. See screenshot below. Because the overviewLabel (e.g. the "List overview information here." text) has dynamic content, I'm

UICollectionView reloadData not functioning properly in iOS 7

梦想与她 提交于 2019-12-17 04:44:08
问题 I've been updating my apps to run on iOS 7 which is going smoothly for the most part. I have noticed in more than one app that the reloadData method of a UICollectionViewController isn't acting quite how it used to. I'll load the UICollectionViewController , populate the UICollectionView with some data as normal. This works great on the first time. However if I request new data (populate the UICollectionViewDataSource ), and then call reloadData , it will query the data source for