Kategorie: #iOSProTip

If your iOS code signing fails today

If your iOS code signing fails today, it may be due to an expired Apple Intermediate Certificate. What you need for code signing beside your valid developer or distribution certificate is the Apple Worldwide Developer Relations Certification Authority. It expired yesterday and there’s probably already a new one side by side in your keychain. (If not, download and install the new one… Read more →

UIWebView Cross Site Scripting Vulnerability

When integrating UIWebViews you have to pay attention to how the desired webpage is being loaded. That’s why Apple lately added the following lines to the documentation of UIWebView: To help you avoid being vulnerable to security attacks, be sure to use this method [-loadHTMLString:baseURL:] to load local HTML files; don’t use loadRequest:. Loading a website via loadRequest: bears the risk of Cross… Read more →

Key-Value Observing Affected Keys

I like to write handy names for my properties like so: @property (nonatomic, assign, getter = isLoading) BOOL loading; As you can see I’ve defined a special name for the getter: isLoading. There’s only one problem with this: If another class is observing this class key path loading, it won’t get notified about changes, unless you overwrite your setter like so:… Read more →