iOS 4.2+ webfont (ttf) ‘s bold font-weight rendering bug
Had the same issue with an h1 inheriting the font-weight: bold; from a parent class. Just overwrite the inherited style with a font-weight: normal;
Had the same issue with an h1 inheriting the font-weight: bold; from a parent class. Just overwrite the inherited style with a font-weight: normal;
You can detect through code that if the app is running on a jail broken device or not. Through that way you can pop up an alert and close the app. You can do whatever you want to do. Here is a tutorial for it: http://thwart-ipa-cracks.blogspot.com/2008/11/detection.html and here is a Stack Overflow post: How do … Read more
Set UIRequiresFullScreen to YES in Info.plist. Enjoy…!!!
iOS Settings App Bug Workaround If all of the other answers don’t work for you, try using the App Switch UI (double-press Home button, or swipe up from bottom bezel) to kill the Settings App. After everything else didn’t work, this fixed the issue for me. App Store Installs & Older iOS Versions While I … Read more
If i undestand your problem correct, you may just add another, clear view with rect, same as you A and B view, and implement all gesture on it: when you do pinch gesture, control subView A, when swipe and tap (single and double) gestures – control subView B. You can do it different ways: via … Read more
It is possible to put an iPad or iPhone into ‘Store Demo’ mode so that the home button and swipe to home gesture is disabled. If you have seen the iPads in the Apple Store running the smart sign apps then you will know what I mean. It is actually pretty trivial to make this … Read more
Fix for status bar issue in IOS 7 Finally I fixed the status bar over lap issue using the delta value property in xcode5. First I have increased origin – y 20pxl to all the controller used in the Xib (it seams to be working fine only in IOS 7), after that I set the … Read more
if (array == nil || [array count] == 0) { … }
The array class method by itself produces an autoreleased array, meaning you don’t have to (and should not) release it manually.
Here is code that works … – (IBAction) renderScrollViewToImage { UIImage* image = nil; UIGraphicsBeginImageContext(_scrollView.contentSize); { CGPoint savedContentOffset = _scrollView.contentOffset; CGRect savedFrame = _scrollView.frame; _scrollView.contentOffset = CGPointZero; _scrollView.frame = CGRectMake(0, 0, _scrollView.contentSize.width, _scrollView.contentSize.height); [_scrollView.layer renderInContext: UIGraphicsGetCurrentContext()]; image = UIGraphicsGetImageFromCurrentImageContext(); _scrollView.contentOffset = savedContentOffset; _scrollView.frame = savedFrame; } UIGraphicsEndImageContext(); if (image != nil) { [UIImagePNGRepresentation(image) writeToFile: @”/tmp/test.png” … Read more