Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. COHi Michael, Its great. But what my requirement is, there will be one image in say ViewController1, so its there on window. But while attaching any external TVOut resource, that image should not be displayed over presentation board, but it should be visible on device. Other part of the view controller will be as it is same as on device. I checked the code it creates completely new uiwindow where as i want to use the same window with all the other view parts.
      singulars
    2. COAlso I couldn't be able to get how this can be used in entire life cycle as generic code. As in this example they are dealing with specific view controller only. Where as I am dealing with UIWindow mainWindow itself. If you check https://github.com/robterrell/TVOutManager/blob/master/TVOutManager.m. Here we are capturing entire image of the window. As of now i am using this. But drawback is - this is compatible for <iOS 5. As iOS 5 does not required any specific code for TVOut feature.
      singulars
    3. COI was able to run `TVOutManager` on iPad 5.1 Simulator without issue. To maintain genericness you could modify `TVOutManager` to send a message to the `UIWindow` upon the call of `-[startTVOut:]:` such as `- (NSArray)rectsToHide` where it returns an `NSArray` of `CGRect`s. (You can encapsulate a `CGRect` into an array by using: `[NSValue valueWithCGRect:<#(CGRect)#>]`) In the call of `- [updateTVOut:]:` the `CGRect`s from `- [rectsToHide]:` would be used draw rects on the `CGImageRef` generated by `UIGetScreenImage` with the background color matching the view, thus effectively hiding views.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload