小编sto*_*n24的帖子

MPMoviePlayerViewController自定义

我正在使用MPMoviePlayerViewController - 播放器控件设置为:MPMovieControlStyleFullscreen

我对MPMovieControlStyleFullscreen中的一些按钮有问题:前进,后退和全屏(箭头指向彼此的那个).

我想要删除前进,后退和全屏按钮,或者控制用户点击它们时的操作.

谢谢!

iphone objective-c

6
推荐指数
2
解决办法
1万
查看次数

使用JSONPath或SelectTokens查询JSON?在C#中使用JSON.NET

我正在尝试在C#中使用Newtonsoft.Json.Net。以下是我需要从中检索数据的JSON文件的一部分:

{
    "video":{
        "local_recording_device":{
            "codecs":null
        },
        "preferred_string":"___PREFERRED___",
        "streams":{
            "99176901":{
                "id":"99176901",
                "name":"PTZ Camera",
                "site":"someone",
                "email":"someone@awebsite.com",
                "codec":"VP8 HD1 (720p)",
                "local":true,
                "screen":false,
                "fit_to_window":true,
                "stay_on_top":false,
                "layout":0,
                "native_width":1280,
                "native_height":720,
                "window_width":456,
                "window_height":254,
                "preferred":false,
                "local_recording":false,
                "device_id":"MJPEG Camera",
                "normalized_device_id":"MJPEGCamera",
                "shared_window_id":"MJPEG Camera",
                "enable":true,
                "big_location":"2",
                "x":347,
                "y":737,
                "window_id":"197302",
                "camera_id":null
            },
            "3091494011":{
                "id":"3091494011",
                "name":"Logitech Webcam C930e",
                "site":"Joe Smith",
                "email":"joe@awebsite.com",
                "codec":"VP8 Medium (CIF)",
                "local":false,
                "screen":false,
                "fit_to_window":true,
                "stay_on_top":false,
                "layout":0,
                "native_width":352,
                "native_height":288,
                "window_width":864,
                "window_height":702,
                "preferred":true,
                "local_recording":false,
                "enable":true,
                "big_location":"1",
                "x":204,
                "y":0,
                "window_id":"197296",
                "camera_id":null
            },
            "3798287599":{
                "id":"3798287599",
                "name":"Drive Camera",
                "site":"ASiteName",
                "email":"asitesame@awebsite.com",
                "codec":"VP8 HD1 (720p)",
                "local":true,
                "screen":false, …
Run Code Online (Sandbox Code Playgroud)

json querying json.net

3
推荐指数
1
解决办法
1万
查看次数

标签 统计

iphone ×1

json ×1

json.net ×1

objective-c ×1

querying ×1