Cocos2d-lua PageView的实现
-- PageView
local pageView = ccui.PageView:create()
-- 这里创建8页page
for i = 1,8 do
-- 创建layout,内容添加到layout
local layout = ccui.Layout:create()
-- layout大小
layout:setContentS
-- PageView
local pageView = ccui.PageView:create()
-- 这里创建8页page
for i = 1,8 do
-- 创建layout,内容添加到layout
local layout = ccui.Layout:create()
-- layout大小
layout:setContentS