Changes

Jump to: navigation, search

Creating an iOS 9 Photo Editing Extension

20 bytes removed, 20:34, 1 February 2016
m
Text replacement - "<google>BUY_IOS9</google>" to "<htmlet>ios9</htmlet>"
<googlehtmlet>BUY_IOS9ios9</googlehtmlet>
Finally, Ctrl-click on the Image View and drag the resulting line to a position beneath the “class PhotoEditingViewController” declaration. Release the line and establish an Outlet for the Image View named imageView.
<googlehtmlet>BUY_IOS9ios9</googlehtmlet>
== The PHContentEditingController Protocol ==
}
</pre>
<googlehtmlet>BUY_IOS9ios9</googlehtmlet>
The above method takes the image passed through as a parameter, takes steps to maintain the original orientation and performs an appropriately configured filter operation on the image based on the current value assigned to the currentFilter variable. The filtered image is then returned to the calling method.
orientation: self.imageOrientation)
</pre>
<googlehtmlet>BUY_IOS9ios9</googlehtmlet>
With the editing operations now applied to the full sized image, it is rendered into JPEG format and written out to a location specified by the URL assigned to the renderedContentURL property of the previously created
<googlehtmlet>BUY_IOS9ios9</googlehtmlet>

Navigation menu