English 中文(简体)
1. 发出关于巨大模式的记忆警告
原标题:ipad memory warning on huge patternimage

我制作了一个具有图像背景的不可分的雕像。

cntView.backgroundColor = [[UIColor alloc] initWithPatternImage:[UIImage imageNamed:@"patternStripe.png"]];

view学期很长,不可分。

注 i 重置记忆警告(1和4;2)

是指在大群可分辨率中出现模型图像的工作范围?

最佳回答

是否找到了减少模式规模的办法。 是否真的需要1800px,这一模式是否已经出现重复?

或者,你不得不将背景划分为较小的形象,并形成一种看法,根据需要加以分析,并将这种观点作为对你内容的背景/表面看法。 例如,见, 问题。 问题

果 Apple指,避免图像大于1024x1024;虽然这确实符合你的形象,但你把图像当作一种模式加以复制:在整个<>上>,在作物有可能打破障碍之前。

问题回答

暂无回答




相关问题
Windows Mobile 6 Emulator change storage?

How do i change the size of the Windows Mobile 6 Emulator. Its fixed at 32mb. I read this post: Increasing Windows Mobile 5 Emulator Storage But it only helps for the 5.0 version. Isnt there any way ...

CUDA Memory Allocation accessible for both host and device

I m trying to figure out a way to allocate a block of memory that is accessible by both the host (CPU) and device (GPU). Other than using cudaHostAlloc() function to allocate page-locked memory that ...

RAM memory reallocation - Windows and Linux

I am working on a project involving optimizing energy consumption within a system. Part of that project consists in allocating RAM memory based on locality, that is allocating memory segments for a ...

Should I send retain or autorelease before returning objects?

I thought I was doing the right thing here but I get several warnings from the Build and Analyze so now I m not so sure. My assumption is (a) that an object I get from a function (dateFromComponents: ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

doubts regarding Memory management in .net

I m learning about Memory management in C# from the book "Professional C#" The presence of the garbage collector means that you will usually not worry about objects that you no longer need; ...

Objective-C returning alloc d memory in a function == bad?

This is on the iPhone. So what if I have a function like - (SomeObject*)buildObject; Do I need to pass in a variable that I have already alloc d outside like - (void)assignObject(SomeObject** out);...